glob

external fun glob(pattern: String, callback: (err: ErrnoException?, ReadonlyArray<String>) -> Unit)(source)
external fun glob(pattern: ReadonlyArray<String>, callback: (err: ErrnoException?, ReadonlyArray<String>) -> Unit)(source)
external fun glob(pattern: String): AsyncIterator<String>(source)
external fun glob(pattern: ReadonlyArray<String>): AsyncIterator<String>(source)

Retrieves the files matching the specified pattern.


external fun glob(pattern: String, options: GlobOptionsWithFileTypes, callback: (err: ErrnoException?, ReadonlyArray<Dirent>) -> Unit)(source)
external fun glob(pattern: ReadonlyArray<String>, options: GlobOptionsWithFileTypes, callback: (err: ErrnoException?, ReadonlyArray<Dirent>) -> Unit)(source)
external fun glob(pattern: String, options: GlobOptionsWithoutFileTypes, callback: (err: ErrnoException?, ReadonlyArray<String>) -> Unit)(source)
external fun glob(pattern: ReadonlyArray<String>, options: GlobOptionsWithoutFileTypes, callback: (err: ErrnoException?, ReadonlyArray<String>) -> Unit)(source)
external fun glob(pattern: String, options: GlobOptions, callback: (err: ErrnoException?, matches: Any) -> Unit)(source)
external fun glob(pattern: ReadonlyArray<String>, options: GlobOptions, callback: (err: ErrnoException?, matches: Any) -> Unit)(source)
external fun glob(pattern: String, opt: GlobOptions): Any(source)
external fun glob(pattern: ReadonlyArray<String>, opt: GlobOptions): Any(source)