Globber Class

Summary

The file system globber.
Namespace
Cake.Core.IO
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IGlobber"] click Interface0 "/api/Cake.Core.IO/IGlobber" Type["Globber"] class Type type-node

Syntax

public sealed class Globber : IGlobber

Constructors

Name Summary
Globber(IFileSystem, ICakeEnvironment) Initializes a new instance of the Globber class.

Methods

Name Value Summary
Match(GlobPattern, GlobberSettings) IEnumerable<Path>
Returns Path instances matching the specified pattern.

Extension Methods

Name Value Summary
Dump<Globber>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
GetDirectories(GlobPattern) IEnumerable<DirectoryPath>
Gets all directories matching the specified pattern.
GetDirectories(string) IEnumerable<DirectoryPath>
Gets all directories matching the specified pattern.
GetFiles(GlobPattern) IEnumerable<FilePath>
Gets all files matching the specified pattern.
GetFiles(string) IEnumerable<FilePath>
Gets all files matching the specified pattern.
IsIn<Globber>(Globber[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
Match(GlobPattern) IEnumerable<Path>
Returns Path instances matching the specified pattern.
Match(string) IEnumerable<Path>
Returns Path instances matching the specified pattern.
NotNull<Globber>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<Globber>(string) void
Requires the Cake.Issues addin
ThrowIfNull<Globber>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<Globber>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin