mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 03:00:39 +08:00
21 lines
791 B
TypeScript
21 lines
791 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 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>;
|