GitHub
isaacs projects
Preparing search index...
The search index is not available
glob
glob
walker
GlobWalker
Class GlobWalker<O>
basic walking utilities that all the glob walker types use
Type Parameters
O
extends
GlobWalkerOpts
=
GlobWalkerOpts
Hierarchy (
view full
)
GlobUtil
<
O
>
GlobWalker
Index
Constructors
constructor
Properties
aborted
include
Child
Matches
matches
max
Depth
opts
path
patterns
paused
seen
signal?
Methods
match
match
Check
match
Check
Sync
match
Check
Test
match
Emit
match
Finish
match
Sync
on
Resume
pause
resume
walk
walkCB
walkCB2
walkCB2
Sync
walkCB3
walkCB3
Sync
walkCBSync
walk
Sync
Constructors
constructor
new
Glob
Walker
<
O
>
(
patterns
,
path
,
opts
)
:
GlobWalker
<
O
>
Type Parameters
O
extends
GlobWalkerOpts
=
GlobWalkerOpts
Parameters
patterns
:
Pattern
[]
path
:
Path
opts
:
O
Returns
GlobWalker
<
O
>
Properties
aborted
aborted
:
boolean
= false
include
Child
Matches
include
Child
Matches
:
boolean
matches
matches
:
Set
<
Result
<
O
>
>
= ...
max
Depth
max
Depth
:
number
opts
opts
:
O
path
path
:
Path
patterns
patterns
:
Pattern
[]
paused
paused
:
boolean
= false
seen
seen
:
Set
<
Path
>
= ...
Optional
signal
signal
?:
AbortSignal
Methods
match
match
(
e
,
absolute
,
ifDir
)
:
Promise
<
void
>
Parameters
e
:
Path
absolute
:
boolean
ifDir
:
boolean
Returns
Promise
<
void
>
match
Check
match
Check
(
e
,
ifDir
)
:
Promise
<
undefined
|
Path
>
Parameters
e
:
Path
ifDir
:
boolean
Returns
Promise
<
undefined
|
Path
>
match
Check
Sync
match
Check
Sync
(
e
,
ifDir
)
:
undefined
|
Path
Parameters
e
:
Path
ifDir
:
boolean
Returns
undefined
|
Path
match
Check
Test
match
Check
Test
(
e
,
ifDir
)
:
undefined
|
Path
Parameters
e
:
undefined
|
Path
ifDir
:
boolean
Returns
undefined
|
Path
match
Emit
match
Emit
(
e
)
:
void
Parameters
e
:
Result
<
O
>
Returns
void
match
Finish
match
Finish
(
e
,
absolute
)
:
void
Parameters
e
:
Path
absolute
:
boolean
Returns
void
match
Sync
match
Sync
(
e
,
absolute
,
ifDir
)
:
void
Parameters
e
:
Path
absolute
:
boolean
ifDir
:
boolean
Returns
void
on
Resume
on
Resume
(
fn
)
:
void
Parameters
fn
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
void
pause
pause
(
)
:
void
Returns
void
resume
resume
(
)
:
void
Returns
void
walk
walk
(
)
:
Promise
<
Set
<
Result
<
O
>
>
>
Returns
Promise
<
Set
<
Result
<
O
>
>
>
walkCB
walkCB
(
target
,
patterns
,
cb
)
:
void
Parameters
target
:
Path
patterns
:
Pattern
[]
cb
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
void
walkCB2
walkCB2
(
target
,
patterns
,
processor
,
cb
)
:
any
Parameters
target
:
Path
patterns
:
Pattern
[]
processor
:
Processor
cb
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
any
walkCB2
Sync
walkCB2
Sync
(
target
,
patterns
,
processor
,
cb
)
:
any
Parameters
target
:
Path
patterns
:
Pattern
[]
processor
:
Processor
cb
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
any
walkCB3
walkCB3
(
target
,
entries
,
processor
,
cb
)
:
void
Parameters
target
:
Path
entries
:
Path
[]
processor
:
Processor
cb
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
void
walkCB3
Sync
walkCB3
Sync
(
target
,
entries
,
processor
,
cb
)
:
void
Parameters
target
:
Path
entries
:
Path
[]
processor
:
Processor
cb
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
void
walkCBSync
walkCBSync
(
target
,
patterns
,
cb
)
:
void
Parameters
target
:
Path
patterns
:
Pattern
[]
cb
:
(
(
)
=>
any
)
(
)
:
any
Returns
any
Returns
void
walk
Sync
walk
Sync
(
)
:
Set
<
Result
<
O
>
>
Returns
Set
<
Result
<
O
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
aborted
include
Child
Matches
matches
max
Depth
opts
path
patterns
paused
seen
signal
Methods
match
match
Check
match
Check
Sync
match
Check
Test
match
Emit
match
Finish
match
Sync
on
Resume
pause
resume
walk
walkCB
walkCB2
walkCB2
Sync
walkCB3
walkCB3
Sync
walkCBSync
walk
Sync
GitHub
isaacs projects
glob
Loading...
basic walking utilities that all the glob walker types use