init
This commit is contained in:
12
mc_test/node_modules/@electron/asar/lib/crawlfs.d.ts
generated
vendored
Executable file
12
mc_test/node_modules/@electron/asar/lib/crawlfs.d.ts
generated
vendored
Executable file
@ -0,0 +1,12 @@
|
||||
import { Stats } from 'fs';
|
||||
import { IOptions } from './types/glob';
|
||||
export type CrawledFileType = {
|
||||
type: 'file' | 'directory' | 'link';
|
||||
stat: Pick<Stats, 'mode' | 'size'>;
|
||||
transformed?: {
|
||||
path: string;
|
||||
stat: Stats;
|
||||
};
|
||||
};
|
||||
export declare function determineFileType(filename: string): Promise<CrawledFileType | null>;
|
||||
export declare function crawl(dir: string, options: IOptions): Promise<readonly [string[], Record<string, CrawledFileType>]>;
|
||||
Reference in New Issue
Block a user