send-mail/node_modules/@actions/glob/lib/glob.d.ts

19 lines
638 B
TypeScript
Raw Normal View History

2021-06-23 00:18:21 +07:00
import { Globber } from './internal-globber';
import { GlobOptions } from './internal-glob-options';
import { HashFileOptions } from './internal-hash-file-options';
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>;
/**
* Computes the sha256 hash of a glob
*
* @param patterns Patterns separated by newlines
* @param options Glob options
*/
export declare function hashFiles(patterns: string, options?: HashFileOptions): Promise<string>;