UNPKG

spanwright

Version:

CLI tool to generate Cloud Spanner E2E testing framework projects with Go database tools and Playwright browser automation

13 lines 981 B
export declare function ensureDirectoryExists(dirPath: string): void; export declare function copyDirectory(src: string, dest: string): void; export declare function safeFileExists(filePath: string): boolean; export declare function safeFileDelete(filePath: string): void; export declare function safeFileRename(oldPath: string, newPath: string): void; export declare function readFileContent(filePath: string): string; export declare function writeFileContent(filePath: string, content: string): void; export declare function escapeRegExp(string: string): string; export declare function replaceInFile(filePath: string, replacements: Record<string, string>): void; export declare function processTemplateFiles(projectPath: string, projectName: string): void; export declare function replaceProjectNameInGoFiles(projectPath: string, projectName: string): void; export declare function removeSecondaryDbFiles(projectPath: string): void; //# sourceMappingURL=file-operations.d.ts.map