NodeFileSystemProvider
classclass NodeFileSystemProviderDefault file-system provider that delegates to Node's fs and path.
Methods
appendFileSync(p: string, data: string): voidAppend `data` to the end of `path`.
basename(p: string): stringReturn the final segment of `path`.
dirname(p: string): stringReturn the directory portion of `path`.
existsSync(p: string): booleanCheck whether a file or directory exists at `path`.
join(parts: string[]): stringJoin path segments with the platform separator.
mkdirSync(dir: string, options?: { recursive?: boolean }): voidCreate `dir` and any missing parent directories.
readdirSync(dir: string): string[]List the entries (file and directory names) inside `dir`.
readFileSync(p: string): stringRead the entire contents of `path` as a UTF-8 string.
resolve(parts: string[]): stringResolve a sequence of paths into an absolute path.
writeFile(p: string, data: string): Promise<void>Async version of writeFileSync.
writeFileSync(p: string, data: string): voidOverwrite (or create) `path` with `data`.