Class StringPathFileSystem
Methods
ensureDirSync
- ensureDirSync(path: string): void
ensureFileSync
- ensureFileSync(path: string): void
existsSync
- existsSync(path: string): boolean
-
Parameters
Returns boolean
mkdirSync
- mkdirSync(path: string): void
outputFileSync
- outputFileSync(path: string, fileContent: string): void
-
Parameters
-
path: string
-
fileContent: string
Returns void
readFileSync
- readFileSync(path: string): string
-
Parameters
Returns string
readdirSync
- readdirSync(path: string): string[]
-
Parameters
Returns string[]
writeFileSync
- writeFileSync(path: string, fileContent: string): void
-
Parameters
-
path: string
-
fileContent: string
Returns void