send-mail/node_modules/@actions/glob/lib/glob.d.ts
2021-07-13 18:20:02 +02:00

19 lines
638 B
TypeScript

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>;