12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- import { EntryItem } from '../types/entries';
- import { Pattern } from '../types/patterns';
- export declare type TransformFunction<T> = (entry: EntryItem) => T;
- export interface IOptions<T = EntryItem> {
-
- cwd: string;
-
- deep: number | boolean;
-
- ignore: Pattern[];
-
- dot: boolean;
-
- stats: boolean;
-
- onlyFiles: boolean;
-
- onlyDirectories: boolean;
-
- followSymlinkedDirectories: boolean;
-
- unique: boolean;
-
- markDirectories: boolean;
-
- absolute: boolean;
-
- nobrace: boolean;
-
- brace: boolean;
-
- noglobstar: boolean;
-
- globstar: boolean;
-
- noext: boolean;
-
- extension: boolean;
-
- nocase: boolean;
-
- case: boolean;
-
- matchBase: boolean;
-
- transform: TransformFunction<T> | null;
- }
- export declare type IPartialOptions<T = EntryItem> = Partial<IOptions<T>>;
- export declare function prepare(options?: IPartialOptions): IOptions;
|