import { FileUtils } from "https://deno.land/x/ts_morph@16.0.0/common/mod.ts";
Utilities for working with files.
Static Methods
Gets the last portion of the path.
Gets the descendant directories of the specified directory.
Gets the directory path.
Gets the extension of the file name.
Gets the parent most paths out of the list of paths.
Gets the relative path from one absolute path to another.
Gets the standardized absolute path.
Gets the text with a byte order mark.
Gets if the glob is a negated glob.
Gets if the error is a file not found or directory not found error.
Gets if the path is for the root directory.
Checks if a path ends with a specified search path.
Gets if the path is absolute.
Joins the paths.
Checks if a path starts with a specified search path.
Reads a file or returns false if the file doesn't exist.
Reads a file synchronously or returns false if the file doesn't exist.
Changes all back slashes to forward slashes.
Gets the glob as absolute.