import { Directory } from "https://dotland.deno.dev/x/ts_morph@21.0.0/ts_morph.js";
Methods
_setPathInternal(path)
addDirectoryAtPath(relativeOrAbsoluteDirPath, options?)
addDirectoryAtPathIfExists(relativeOrAbsoluteDirPath, options?)
addSourceFileAtPath(relativeFilePath)
addSourceFileAtPathIfExists(relativeFilePath)
addSourceFilesAtPaths(fileGlobs)
clear()
copy(relativeOrAbsolutePath, options)
copyImmediately(relativeOrAbsolutePath, options)
copyImmediatelySync(relativeOrAbsolutePath, options)
copyToDirectory(dirPathOrDirectory, options)
createDirectory(relativeOrAbsoluteDirPath)
createSourceFile()
relativeFilePath,
sourceFileText,
options,
delete()
emit(options?)
emitSync(options?)
forget()
getDirectory(pathOrCondition)
getDirectoryOrThrow(pathOrCondition)
getParentOrThrow(message)
getPath()
getRelativePathAsModuleSpecifierTo(sourceFileDirOrFilePath)
getRelativePathTo(sourceFileDirOrPath)
getSourceFile(pathOrCondition)
getSourceFileOrThrow(pathOrCondition)
getSourceFiles(globPatterns)
isAncestorOf(possibleDescendant)
isDescendantOf(possibleAncestor)
move(relativeOrAbsolutePath, options)
moveImmediately(relativeOrAbsolutePath, options)
moveImmediatelySync(relativeOrAbsolutePath, options)
moveToDirectory(dirPathOrDirectory, options)
save()
saveSync()