Class ArrayPathFileSystem<PathElm, FileContent>
Methods
ensureDirSync
- ensureDirSync(dirname: readonly PathElm[]): void
-
Parameters
-
dirname: readonly PathElm[]
Returns void
existsSync
- existsSync(path: readonly PathElm[]): boolean
-
Parameters
Returns boolean
mkdirSync
- mkdirSync(dirname: readonly PathElm[]): void
-
Parameters
-
dirname: readonly PathElm[]
Returns void
outputFileSync
- outputFileSync(filename: readonly PathElm[], content: FileContent): void
-
Parameters
-
filename: readonly PathElm[]
-
content: FileContent
Returns void
readFileSync
- readFileSync(filename: readonly PathElm[]): FileContent
-
Parameters
-
filename: readonly PathElm[]
Returns FileContent
readdirSync
- readdirSync(dirname: readonly PathElm[]): PathElm[]
-
Parameters
-
dirname: readonly PathElm[]
Returns PathElm[]
writeFileSync
- writeFileSync(filename: readonly PathElm[], fileContent: FileContent): void
-
Parameters
-
filename: readonly PathElm[]
-
fileContent: FileContent
Returns void