Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Please use nuget 'Fake.IO.FileSystem' and Fake.IO.Globbing.Operators instead

FileIncludes

Internal representation of a file set.

Record Fields

Record FieldDescription
BaseDirectory
Signature: string
Excludes
Signature: string list
Includes
Signature: string list

Instance members

Instance memberDescription
x.And(pattern)
Signature: pattern:string -> FileIncludes

Adds the given pattern to the file includes

x.ButNot(pattern)
Signature: pattern:string -> FileIncludes

Ignores files with the given pattern

x.IsMatch(path)
Signature: path:string -> bool

Checks if a particular file is matched

x.SetBaseDirectory(dir)
Signature: dir:string -> FileIncludes

Sets a directory as BaseDirectory.