Copies a file or directory recursively.
Copies a file or directory recursively and synchronously.
Check if a path points to a directory.
Path to check
Promise resolving to true if path is a directory, false otherwise
Returns true when the path exists and is a directory.
Check if a file or directory exists.
Path to check
Promise resolving to true if exists, false otherwise
Check if a path points to a file (not a directory).
Path to check
Promise resolving to true if path is a file, false otherwise
Returns true when the path exists and is a file.
Returns process.cwd().
Not implemented: always resolves to an empty array.
Not implemented: always returns an empty array.
Returns false on Windows and macOS, true on other platforms.
Creates a directory and its parents synchronously.
Renames or moves a file or directory.
Renames or moves a file or directory synchronously.
Lists the direct entries of a directory synchronously.
Entries with full paths as name
Reads a file synchronously.
Optionalencoding: stringEncoding, defaults to utf-8
Resolves symbolic links and returns the canonical path.
Writes a file synchronously, creating the parent directory if missing.
Real file system adapter - implements both FileSystemAdapter and ts-morph's FileSystemHost. This is the production implementation used in the CLI.