Resolve attachments via glob

This commit is contained in:
Simon R authored and Dawid Dziurla committed 2021-07-13 18:20:02 +02:00
1 parent 44663f34dd
commit b9bedb34a4
96 files changed
+4707 -1779

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
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>;