Skip to main content
Module

x/ts_morph/common/ts_morph_common.js>RealFileSystemHost

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class RealFileSystemHost
import { RealFileSystemHost } from "https://deno.land/x/ts_morph@17.0.1/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)