12 lines
387 B
TypeScript
12 lines
387 B
TypeScript
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 };
|