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

GlobbingPatternExtensions

Type extensions

Type extensionDescription
x.And(pattern)
Signature: pattern:string -> IGlobbingPattern

Adds the given pattern to the file includes

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

Ignores files with the given pattern

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

Checks if a particular file is matched

x.Resolve()
Signature: unit -> IGlobbingPattern
x.SetBaseDirectory(dir)
Signature: dir:string -> IGlobbingPattern

Sets a directory as BaseDirectory.