import { FileUtils } from "https://dotland.deno.dev/x/ts_morph@17.0.1/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,
splitPathBySlashes(fileOrDirPath)
standardizeSlashes(fileOrDirPath)
toAbsoluteGlob(glob, cwd)