2022-07-12 09:00:22 +02:00
|
|
|
import { Globber } from './internal-globber';
|
|
|
|
import { GlobOptions } from './internal-glob-options';
|
2023-02-22 17:47:24 -08:00
|
|
|
import { HashFileOptions } from './internal-hash-file-options';
|
2022-07-12 09:00:22 +02:00
|
|
|
export { Globber, GlobOptions };
|
|
|
|
/**
|
|
|
|
* Constructs a globber
|
|
|
|
*
|
|
|
|
* @param patterns Patterns separated by newlines
|
|
|
|
* @param options Glob options
|
|
|
|
*/
|
|
|
|
export declare function create(patterns: string, options?: GlobOptions): Promise<Globber>;
|
2023-02-22 17:47:24 -08:00
|
|
|
/**
|
|
|
|
* Computes the sha256 hash of a glob
|
|
|
|
*
|
|
|
|
* @param patterns Patterns separated by newlines
|
|
|
|
* @param currentWorkspace Workspace used when matching files
|
|
|
|
* @param options Glob options
|
|
|
|
* @param verbose Enables verbose logging
|
|
|
|
*/
|
|
|
|
export declare function hashFiles(patterns: string, currentWorkspace?: string, options?: HashFileOptions, verbose?: Boolean): Promise<string>;
|