Check if a path points to a directory.
Path to check
Promise resolving to true if path is a directory, false otherwise
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
Core abstraction for file system operations.
All operations are asynchronous. The implementations (RealFileSystemAdapter, InMemoryFileSystemAdapter) add synchronous variants for ts-morph
FileSystemHostcompatibility, and the in-memory variant lets tests run without disk access.