Sha256: 51bfe35171efe121cefb2501a6cd674c367d541c4c8b0ae639c126adcc84f37d

Contents?: true

Size: 1.67 KB

Versions: 23

Compression:

Stored size: 1.67 KB

Contents

/// <reference types="node" />
import * as taskManager from './managers/tasks';
import { Options as OptionsInternal } from './settings';
import { Entry as EntryInternal, FileSystemAdapter as FileSystemAdapterInternal, Pattern as PatternInternal } from './types';
declare type EntryObjectModePredicate = {
    [TKey in keyof Pick<OptionsInternal, 'objectMode'>]-?: true;
};
declare type EntryStatsPredicate = {
    [TKey in keyof Pick<OptionsInternal, 'stats'>]-?: true;
};
declare type EntryObjectPredicate = EntryObjectModePredicate | EntryStatsPredicate;
declare function FastGlob(source: PatternInternal | PatternInternal[], options: OptionsInternal & EntryObjectPredicate): Promise<EntryInternal[]>;
declare function FastGlob(source: PatternInternal | PatternInternal[], options?: OptionsInternal): Promise<string[]>;
declare namespace FastGlob {
    type Options = OptionsInternal;
    type Entry = EntryInternal;
    type Task = taskManager.Task;
    type Pattern = PatternInternal;
    type FileSystemAdapter = FileSystemAdapterInternal;
    function sync(source: PatternInternal | PatternInternal[], options: OptionsInternal & EntryObjectPredicate): EntryInternal[];
    function sync(source: PatternInternal | PatternInternal[], options?: OptionsInternal): string[];
    function stream(source: PatternInternal | PatternInternal[], options?: OptionsInternal): NodeJS.ReadableStream;
    function generateTasks(source: PatternInternal | PatternInternal[], options?: OptionsInternal): Task[];
    function isDynamicPattern(source: PatternInternal, options?: OptionsInternal): boolean;
    function escapePath(source: PatternInternal): PatternInternal;
}
export = FastGlob;

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
trusty-cms-5.0.7 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.6 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.5 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.4 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.3 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.2 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.1 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.3.5 node_modules/fast-glob/out/index.d.ts
trusty-cms-5.0.0 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.3.4 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.3.3 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.3.2 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.3.1 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.3 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.2.3 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.2.2 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.2.1 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.2 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.1.9 node_modules/fast-glob/out/index.d.ts
trusty-cms-4.1.8 node_modules/fast-glob/out/index.d.ts