Module

x/ts_morph/common/ts_morph_common.js>InMemoryFileSystemHost

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

Constructors

new
InMemoryFileSystemHost()

Methods

_writeFileSync(filePath, fileText)
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)