Module

x/ts_morph/common/ts_morph_common.js>RealFileSystemHost

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
class RealFileSystemHost
import { RealFileSystemHost } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/ts_morph_common.js";

Methods

copy(srcPath, destPath)
copySync(srcPath, destPath)
delete(path)
fileExists(filePath)
fileExistsSync(filePath)
glob(patterns)
globSync(patterns)
mkdir(dirPath)
mkdirSync(dirPath)
move(srcPath, destPath)
moveSync(srcPath, destPath)
readDirSync(dirPath)
readFile(filePath, encoding?)
readFileSync(filePath, encoding?)
writeFile(filePath, fileText)
writeFileSync(filePath, fileText)