1 | export declare const fileUtils: {
|
2 | deleteDir: (arg1: string) => Promise<void>;
|
3 | cleanFolder(folderName: string): Promise<string | undefined>;
|
4 | exists(fileName: string): Promise<boolean>;
|
5 | /**
|
6 | * Wrapper around the 'import' expression (for testability)
|
7 | */
|
8 | importModule(moduleName: string): Promise<unknown>;
|
9 | /**
|
10 | * Recursively walks the from directory and copy the content to the target directory synchronously
|
11 | * @param from The source directory to move from
|
12 | * @param to The target directory to move to
|
13 | */
|
14 | moveDirectoryRecursiveSync(from: string, to: string): void;
|
15 | /**
|
16 | * Creates a symlink at `from` that points to `to`
|
17 | * @param to The thing you want to point to
|
18 | * @param from The thing you want to point from
|
19 | */
|
20 | symlinkJunction(to: string, from: string): Promise<void>;
|
21 | /**
|
22 | * Looks for the node_modules folder from basePath up to root.
|
23 | * returns the first occurrence of the node_modules, or null of none could be found.
|
24 | * @param basePath starting point
|
25 | */
|
26 | findNodeModulesList(basePath: string, tempDirName?: string): Promise<string[]>;
|
27 | };
|
28 | //# sourceMappingURL=file-utils.d.ts.map |
\ | No newline at end of file |