UNPKG

cmetrix

Version:

CLI to build code metrics charts for your projects

20 lines (19 loc) 855 B
declare function createDirectory(path: string): Promise<void>; declare function createTemporaryDirectory(prefix?: string): Promise<string>; declare function find(pattern: string, workingDirectory: string): Promise<string[]>; declare function readJson(path: string): Promise<any>; declare function readText(path: string): Promise<string>; declare function writeText(path: string, text: string): Promise<void>; declare function remove(path: string): Promise<void>; declare function doesExist(path: string): Promise<boolean>; export declare const FileOps: { createDirectory: typeof createDirectory; createTemporaryDirectory: typeof createTemporaryDirectory; find: typeof find; readJson: typeof readJson; readText: typeof readText; writeText: typeof writeText; remove: typeof remove; doesExist: typeof doesExist; }; export {};