This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.FileSet.
Summary
Finds a set of
FilePath
based on input patterns.
- Assembly
- Cake
.FileSet .dll - Namespace
- Cake
.FileSet - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["FileSet"]
class Type type-node
Syntax
public class FileSet
Remarks
The Microsoft globbing library supports the following two wildcard characters; `*` and `**` (See https://docs.microsoft.com/en-us/aspnet/core/fundamentals/file-providers#globbing-patterns for more information).
* - Matches anything at the current folder level, or any filename, or any file extension.Matches are terminated by / and . characters in the file path.
** - Matches anything across multiple directory levels.Can be used to recursively match many files within a directory hierarchy.
Globbing pattern examples:
directory/file.txt - Matches a specific file in a specific directory.
directory/*.txt - Matches all files with .txt extension in a specific directory.
directory/*/bower.json - Matches all bower.json files in directories exactly one level below the directory directory.
directory/**/*.txt - Matches all files with .txt extension found anywhere under the directory directory.
Methods
Name | Value | Summary |
---|---|---|
Find |
IEnumerable |
Gets a fileset by FileSetSettings
static
|
Find |
IEnumerable |
Gets a fileset by FileSetSettings
static
|
Find |
IEnumerable |
Gets a fileset by FileSetSettings
static
|
Find |
IEnumerable |
Gets a fileset by FileSetSettings
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|