import { type RuntimeFileSystem } from "https://deno.land/x/ts_morph@21.0.1/common/mod.ts";
Methods
readDirSync(dirPath: string): RuntimeDirEntry[]
Reads all the child directories and files.
Asynchronously reads a file at the specified path.
Synchronously reads a file at the specified path.
Asynchronously writes a file to the file system.
Synchronously writes a file to the file system.
stat(path: string): Promise<RuntimeFileInfo | undefined>
Asynchronously gets the path's stat information.
statSync(path: string): RuntimeFileInfo | undefined
Synchronously gets the path's stat information.
Uses pattern matching to find files or directories.