Add explicit dependency on @actions/glob

This commit is contained in:
Michael B. Gale 2024-07-22 14:10:19 +01:00
parent 1922a489a8
commit 19e7c25974
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
51 changed files with 1611 additions and 13 deletions

View file

@ -1,5 +1,6 @@
import { Globber } from './internal-globber';
import { GlobOptions } from './internal-glob-options';
import { HashFileOptions } from './internal-hash-file-options';
export { Globber, GlobOptions };
/**
* Constructs a globber
@ -8,3 +9,12 @@ export { Globber, GlobOptions };
* @param options Glob options
*/
export declare function create(patterns: string, options?: GlobOptions): Promise<Globber>;
/**
* 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>;