GlobOptions
[<Interface>]
type GlobOptions<'T> =
abstract member cwd: U2<string,URL> option with get, set
abstract member exclude: U2<string array,('T -> bool)> option with get, set
abstract member withFileTypes: bool option with get, set
static member Create (?cwd: U2<string,URL>, ?withFileTypes: bool, ?exclude: U2<string array,('T -> bool)>) : GlobOptions<'T>| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member exclude: U2<string array,('T -> bool)> option with get, set
abstract member exclude: U2<string array,('T -> bool)> option with get, setFunction to filter out files/directories or a list of glob patterns to be excluded. If a function is provided, return true to exclude the item, false to include it. If a string array is provided, each string should be a glob pattern that specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are not supported.
abstract member withFileTypes: bool option with get, set
abstract member withFileTypes: bool option with get, settrue if the glob should return paths as Dirents, false otherwise.
@since v22.2.0