Package-level declarations

Types

Link copied to clipboard
sealed external class DefaultGlobber : Globber
Link copied to clipboard
external interface Globber
Link copied to clipboard
external interface GlobOptions
Link copied to clipboard
external interface HashFileOptions
Link copied to clipboard
sealed external interface MatchKind
Link copied to clipboard
external class Path
Link copied to clipboard
external class Pattern
Link copied to clipboard
external class SearchState

Functions

Link copied to clipboard
suspend external fun create(patterns: String, options: GlobOptions = definedExternally): Globber
Link copied to clipboard
external fun createAsync(patterns: String, options: GlobOptions = definedExternally): Promise<Globber>
Link copied to clipboard
external fun dirname(p: String): String
Link copied to clipboard
external fun ensureAbsoluteRoot(root: String, itemPath: String): String
Link copied to clipboard
external fun getOptions(copy: GlobOptions = definedExternally): GlobOptions
Link copied to clipboard
Link copied to clipboard
external fun hasAbsoluteRoot(itemPath: String): Boolean
Link copied to clipboard
suspend external fun hashFiles(globber: Globber, currentWorkspace: String, verbose: Boolean = definedExternally): String
suspend external fun hashFiles(patterns: String, currentWorkspace: String = definedExternally, options: HashFileOptions = definedExternally, verbose: Boolean = definedExternally): String
Link copied to clipboard
external fun hashFilesAsync(globber: Globber, currentWorkspace: String, verbose: Boolean = definedExternally): Promise<String>
external fun hashFilesAsync(patterns: String, currentWorkspace: String = definedExternally, options: HashFileOptions = definedExternally, verbose: Boolean = definedExternally): Promise<String>
Link copied to clipboard
external fun hasRoot(itemPath: String): Boolean
Link copied to clipboard
external fun match(patterns: ReadonlyArray<Pattern>, itemPath: String): MatchKind
Link copied to clipboard
Link copied to clipboard
external fun partialMatch(patterns: ReadonlyArray<Pattern>, itemPath: String): Boolean
Link copied to clipboard