11 lines
387 B
TypeScript
Executable file
11 lines
387 B
TypeScript
Executable file
interface FileSystem {
|
|
pathSeparator: string;
|
|
pathExists(filename: string): boolean;
|
|
isFileInDirectory(filename: string, directory: string): boolean;
|
|
readFileAsUtf8(filename: string): string;
|
|
join(...paths: string[]): string;
|
|
resolvePath(path: string): string;
|
|
listPaths(dir: string): string[];
|
|
isDirectory(dir: string): boolean;
|
|
}
|
|
export { FileSystem };
|