import { FileUtils } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/ts_morph_common.js";
Static Methods
getBaseName(fileOrDirPath)
getDescendantDirectories(fileSystemWrapper, dirPath)
getDirPath(fileOrDirPath)
getExtension(fileOrDirPath)
getParentMostPaths(paths)
getRelativePathTo(absoluteDirPathFrom, absolutePathTo)
getStandardizedAbsolutePath()
fileSystem,
fileOrDirPath,
relativeBase,
getTextWithByteOrderMark(text)
isNegatedGlob(glob)
isNotExistsError(err)
isRootDirPath(dirOrFilePath)
pathEndsWith(fileOrDirPath, endsWithPath)
pathIsAbsolute(fileOrDirPath)
pathJoin(basePath, ...paths)
pathStartsWith(fileOrDirPath, startsWithPath)
readFileOrNotExists()
fileSystem,
filePath,
encoding,
readFileOrNotExistsSync()
fileSystem,
filePath,
encoding,
standardizeSlashes(fileOrDirPath)
toAbsoluteGlob(glob, cwd)