You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
387 B
11 lines
387 B
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 };
|