import { TransactionalFileSystem } from "https://deno.land/x/ts_morph@18.0.0/common/ts_morph_common.js";
Methods
_fileDeletedInMemory(filePath)
_verifyCanReadFile(filePath)
addBackDirAndSubDirs(dir)
clearDirectoryImmediately(dirPath)
clearDirectoryImmediatelySync(dirPath)
copyDirectoryImmediately(srcDirPath, destDirPath)
copyDirectoryImmediatelySync(srcDirPath, destDirPath)
deleteDirectoryImmediately(dirPath)
deleteDirectoryImmediatelySync(dirPath)
deleteFileImmediately(filePath)
deleteFileImmediatelySync(filePath)
deleteSuppressNotFound(path)
directoryExistsSync(dirPath)
executeOperation(operation)
executeOperationSync(operation)
fileExists(filePath)
fileExistsSync(filePath)
flush()
getDirectories(dirPath)
getDirectoryIfExists(dirPath)
getOrCreateDirectory(dirPath)
getOrCreateParentDirectory(filePath)
getParentDirectoryIfExists(filePath)
getStandardizedAbsolutePath(fileOrDirPath, relativeBase)
glob(patterns)
globSync(patterns)
isPathQueuedForDeletion(path)
libFileExists(filePath)
moveDirectoryImmediately(srcDirPath, destDirPath)
moveDirectoryImmediatelySync(srcDirPath, destDirPath)
moveFileImmediately()
oldFilePath,
newFilePath,
fileText,
moveFileImmediatelySync()
oldFilePath,
newFilePath,
fileText,
queueCopyDirectory(srcPath, destPath)
queueDirectoryDelete(dirPath)
queueFileDelete(filePath)
queueMkdir(dirPath)
queueMoveDirectory(srcPath, destPath)
readDirSync(dirPath)
readFile(filePath, encoding)
readFileIfExists(filePath, encoding)
readFileIfExistsSync(filePath, encoding)
readFileOrNotExists(filePath, encoding)
readFileOrNotExistsSync(filePath, encoding)
readFileSync(filePath, encoding)
readLibFile(filePath)
realpathSync(path)
removeDirAndSubDirs(dir)
removeFileDelete(filePath)
saveForDirectory(dirPath)
saveForDirectorySync(dirPath)
throwIfHasExternalOperations(dir, commandName)
throwIfLibFile(filePath)
writeFile(filePath, fileText)
writeFileSync(filePath, fileText)