import { TransactionalFileSystem } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/ts_morph_common.js";
Methods
clearDirectoryImmediately(dirPath)
clearDirectoryImmediatelySync(dirPath)
copyDirectoryImmediately(srcDirPath, destDirPath)
copyDirectoryImmediatelySync(srcDirPath, destDirPath)
deleteDirectoryImmediately(dirPath)
deleteDirectoryImmediatelySync(dirPath)
deleteFileImmediately(filePath)
deleteFileImmediatelySync(filePath)
directoryExistsSync(dirPath)
fileExists(filePath)
fileExistsSync(filePath)
flush()
getDirectories(dirPath)
getStandardizedAbsolutePath(fileOrDirPath, relativeBase)
glob(patterns)
globSync(patterns)
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)
realpathSync(path)
removeFileDelete(filePath)
saveForDirectory(dirPath)
saveForDirectorySync(dirPath)
writeFile(filePath, fileText)
writeFileSync(filePath, fileText)