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
Contains functionality for creating filesets based on includes and excludes.
- Assembly
- Cake
.FileSet .dll - Namespace
- Cake
.FileSet - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["FileSetAliases"]
class Type type-node
Syntax
public static class FileSetAliases
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.
Attributes
Type | Description |
---|---|
Cake |
Methods
Name | Value | Summary |
---|---|---|
GetFileSet |
List |
Gets a fileset by FileSetSettings
static
|
GetFileSet |
List |
Gets a fileset by patterns
static
|
GetFileSet |
List |
Gets a fileset by includes and excludes
static
|
GetFileSet |
List |
Gets a fileset by single include and excludes
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|