Globber

external interface Globber(source)

Inheritors

Functions

Link copied to clipboard

Returns the search path preceding the first glob segment, from each pattern. Duplicates and descendants of other paths are filtered out.

Link copied to clipboard
abstract fun glob(): Promise<ReadonlyArray<String>>

Returns files and directories matching the glob patterns.

Link copied to clipboard
abstract fun globGenerator(): AsyncGenerator<String, *, *>

Returns files and directories matching the glob patterns.