1 |
|
2 |
|
3 | export declare function readdirSyncRecursive(baseDir: string): string[];
|
4 | export declare function rmdirSyncRecursive(path: string, failSilent?: boolean): void;
|
5 | export declare function copyDirSyncRecursive(
|
6 | sourceDir: string,
|
7 | newDirLocation: string,
|
8 | opts?: { preserve?: boolean | undefined },
|
9 | ): void;
|
10 | export declare function chmodSyncRecursive(sourceDir: string, filemode: number): void;
|
11 | export declare function chownSyncRecursive(sourceDir: string, uid: number, gid: number): void;
|
12 | export declare function mkdirSyncRecursive(path: string, mode: number): void;
|
13 |
|
14 | export declare function readdirRecursive(baseDir: string, fn: (err: Error, files: string[]) => void): void;
|
15 | export declare function rmdirRecursive(path: string, fn: (err: Error) => void): void;
|
16 | export declare function copyDirRecursive(srcDir: string, newDir: string, fn: (err: Error) => void): void;
|
17 |
|
18 | export declare class LineReader {
|
19 | constructor(filename: string, bufferSize?: number);
|
20 |
|
21 | getBufferAndSetCurrentPosition(position: number): number;
|
22 | hasNextLine(): boolean;
|
23 | getNextLine(): string;
|
24 | }
|