@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
18 lines • 601 B
TypeScript
/**
* Checks if a path exists
* @param fullPath - The path to check
* @returns Whether the path exists
*/
export declare function pathExists(fullPath: string): Promise<boolean>;
/**
* Checks if a file exists
* @param filePath - The path to the file
* @returns Whether the file exists
*/
export declare function fileExists(filePath: string): Promise<boolean>;
/**
* Ensures a directory exists, creating it recursively if it doesn't
* @param directoryPath - The path to the directory
*/
export declare function ensureDir(directoryPath: string): Promise<void>;
//# sourceMappingURL=fs.d.ts.map