hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
11 lines • 516 B
TypeScript
/**
* Returns true when `path` should be included given user-supplied include and
* exclude glob lists. `include` is the gate: an empty `include` matches
* nothing. `exclude` then narrows the included set.
*/
export declare function isPathSelected(path: string, include: string[], exclude: string[]): boolean;
/**
* Returns true if `value` matches at least one of the given glob patterns.
*/
export declare function matchesAnyGlob(value: string, patterns: string[]): boolean;
//# sourceMappingURL=glob.d.ts.map