globUtils
Index
Type Aliases
Variables
Functions
Type Aliases
Glob
Type declaration
isGlobPattern: (pattern: string) => boolean
Parameters
pattern: string
Returns boolean
match: (pattern: string, options: { baseFs: FakeFS<PortablePath>; cwd: PortablePath }) => Promise<string[]>
Parameters
pattern: string
options: { baseFs: FakeFS<PortablePath>; cwd: PortablePath }
Returns Promise<string[]>
Variables
constfastGlobOptions
constmicromatchOptions
Functions
isBraceExpansion
Parameters
pattern: string
Returns boolean
isGlobPattern
Parameters
pattern: string
Returns boolean
match
Parameters
pattern: string
__namedParameters: { baseFs: FakeFS<PortablePath>; cwd: PortablePath }
Returns Promise<string[]>
Decides whether a string is a glob pattern, using micromatch.
Required because
fastGlob.isDynamicPattern
doesn't have thestrictBrackets
option.