1 | import { fileExists, directoryExists, isRelativePath, createDirectory } from 'nx/src/utils/fileutils';
|
2 | export { fileExists, directoryExists, isRelativePath, createDirectory };
|
3 | /**
|
4 | * This method is specifically for updating a JSON file using the filesystem
|
5 | *
|
6 | * @remarks
|
7 | * If you are looking to update a JSON file in a tree, look for ./ast-utils#updateJsonInTree
|
8 | * @param path Path of the JSON file on the filesystem
|
9 | * @param callback Manipulation of the JSON data
|
10 | */
|
11 | export declare function updateJsonFile(path: string, callback: (a: any) => any): void;
|
12 | export declare function copyFile(file: string, target: string): void;
|
13 | export declare function renameSync(from: string, to: string, cb: (err: Error | null) => void): void;
|