Expand description
Virtual filesystem abstraction for dependency graph construction.
The Vfs trait abstracts filesystem access so the graph-building pipeline
can operate transparently on the real filesystem (OsVfs) or on git tree
objects (GitTreeVfs). This enables in-process git ref diffs without
spawning worktrees.
Structs§
- GitTree
Vfs - Reads files from a git tree object, enabling in-process git ref diffs without spawning worktrees. Construction walks the tree once to build an in-memory index; subsequent reads decompress blobs from the pack.
- OsVfs
- Pass-through to
std::fs. Zero overhead for normal (non-git) operation. - OxcVfs
Adapter - Adapter that wraps our
Vfstrait to satisfyoxc_resolver::FileSystem. - VfsMetadata
- Metadata returned by
Vfs::metadata.
Traits§
- Vfs
- Filesystem abstraction for the graph-building pipeline.