minimatch
GitHub
isaacs projects
Preparing search index...
index
Minimatch
Class Minimatch
Index
Constructors
constructor
Properties
comment
empty
glob
Parts
glob
Set
is
Windows
negate
nocase
nonegate
options
partial
pattern
platform
preserve
Multiple
Slashes
regexp
set
windows
No
Magic
Root
windows
Paths
No
Escape
Methods
adjascent
Globstar
Optimize
brace
Expand
debug
first
Phase
Pre
Process
has
Magic
level
One
Optimize
level
Two
File
Optimize
make
make
Re
match
match
One
parse
parse
Negate
parts
Match
preprocess
second
Phase
Pre
Process
slash
Split
defaults
Constructors
constructor
new
Minimatch
(
pattern
:
string
,
options
?:
MinimatchOptions
)
:
Minimatch
Parameters
pattern
:
string
options
:
MinimatchOptions
= {}
Returns
Minimatch
Properties
comment
comment
:
boolean
empty
empty
:
boolean
glob
Parts
globParts
:
string
[]
[]
glob
Set
globSet
:
string
[]
is
Windows
isWindows
:
boolean
negate
negate
:
boolean
nocase
nocase
:
boolean
nonegate
nonegate
:
boolean
options
options
:
MinimatchOptions
partial
partial
:
boolean
pattern
pattern
:
string
platform
platform
:
Platform
preserve
Multiple
Slashes
preserveMultipleSlashes
:
boolean
regexp
regexp
:
null
|
false
|
MMRegExp
set
set
:
ParseReturnFiltered
[]
[]
windows
No
Magic
Root
windowsNoMagicRoot
:
boolean
windows
Paths
No
Escape
windowsPathsNoEscape
:
boolean
Methods
adjascent
Globstar
Optimize
adjascentGlobstarOptimize
(
globParts
:
string
[]
[]
)
:
string
[]
[]
Parameters
globParts
:
string
[]
[]
Returns
string
[]
[]
brace
Expand
braceExpand
()
:
string
[]
Returns
string
[]
debug
debug
(
...
_
:
any
[]
)
:
void
Parameters
...
_
:
any
[]
Returns
void
first
Phase
Pre
Process
firstPhasePreProcess
(
globParts
:
string
[]
[]
)
:
string
[]
[]
Parameters
globParts
:
string
[]
[]
Returns
string
[]
[]
has
Magic
hasMagic
()
:
boolean
Returns
boolean
level
One
Optimize
levelOneOptimize
(
globParts
:
string
[]
[]
)
:
string
[]
[]
Parameters
globParts
:
string
[]
[]
Returns
string
[]
[]
level
Two
File
Optimize
levelTwoFileOptimize
(
parts
:
string
|
string
[]
)
:
string
[]
Parameters
parts
:
string
|
string
[]
Returns
string
[]
make
make
()
:
void
Returns
void
make
Re
makeRe
()
:
false
|
MMRegExp
Returns
false
|
MMRegExp
match
match
(
f
:
string
,
partial
?:
boolean
)
:
boolean
Parameters
f
:
string
partial
:
boolean
= ...
Returns
boolean
match
One
matchOne
(
file
:
string
[]
,
pattern
:
ParseReturn
[]
,
partial
?:
boolean
)
:
boolean
Parameters
file
:
string
[]
pattern
:
ParseReturn
[]
partial
:
boolean
= false
Returns
boolean
parse
parse
(
pattern
:
string
)
:
ParseReturn
Parameters
pattern
:
string
Returns
ParseReturn
parse
Negate
parseNegate
()
:
void
Returns
void
parts
Match
partsMatch
(
a
:
string
[]
,
b
:
string
[]
,
emptyGSMatch
?:
boolean
)
:
false
|
string
[]
Parameters
a
:
string
[]
b
:
string
[]
emptyGSMatch
:
boolean
= false
Returns
false
|
string
[]
preprocess
preprocess
(
globParts
:
string
[]
[]
)
:
string
[]
[]
Parameters
globParts
:
string
[]
[]
Returns
string
[]
[]
second
Phase
Pre
Process
secondPhasePreProcess
(
globParts
:
string
[]
[]
)
:
string
[]
[]
Parameters
globParts
:
string
[]
[]
Returns
string
[]
[]
slash
Split
slashSplit
(
p
:
string
)
:
string
[]
Parameters
p
:
string
Returns
string
[]
Static
defaults
defaults
(
def
:
MinimatchOptions
)
:
typeof
Minimatch
Parameters
def
:
MinimatchOptions
Returns
typeof
Minimatch
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
comment
empty
glob
Parts
glob
Set
is
Windows
negate
nocase
nonegate
options
partial
pattern
platform
preserve
Multiple
Slashes
regexp
set
windows
No
Magic
Root
windows
Paths
No
Escape
Methods
adjascent
Globstar
Optimize
brace
Expand
debug
first
Phase
Pre
Process
has
Magic
level
One
Optimize
level
Two
File
Optimize
make
make
Re
match
match
One
parse
parse
Negate
parts
Match
preprocess
second
Phase
Pre
Process
slash
Split
defaults
GitHub
isaacs projects
minimatch
Loading...