Globber

external interface Globber(source)

Inheritors

Functions

Link copied to clipboard
abstract external fun getSearchPaths(): ReadonlyArray<String>

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 external fun glob(): Promise<ReadonlyArray<String>>

Returns files and directories matching the glob patterns.

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

Returns files and directories matching the glob patterns.