Crate tinymist_vfs

Source
Expand description

upstream of following files https://github.com/rust-lang/rust-analyzer/tree/master/crates/vfs ::path_interner.rs -> path_interner.rs

Re-exports§

pub use notify::FilesystemEvent;
pub use notify::MemoryEvent;
pub use snapshot::*;

Modules§

browser
Provides ProxyAccessModel that makes access to JavaScript objects for browser compilation.
dummy
Provides dummy access model.
notify
Provides notify access model which retrieves file system events and changes from some notify backend.
overlay
Provides overlay access model which allows to shadow the underlying access model with memory contents.
resolve
Provides resolve access model.
snapshot
Provides snapshot models
system
Provides SystemAccessModel that makes access to the local file system for system compilation.
trace
Provides trace access model which traces the underlying access model.

Structs§

Bytes
A sequence of bytes.
DisplayEntryMap
A display wrapper for EntryMap.
DisplayPathMap
A display wrapper for PathMap.
DisplayVfs
A display wrapper for Vfs.
FileId
Identifies a file in a project or package.
RevisingVfs
A revising wrapper for Vfs.
SourceCache
A source cache shared across VFS.
Time
A measurement of the system clock, useful for talking to external entities like the file system or other processes.
Vfs
Creates a new Vfs harnessing over the given access_model specific for reflexo_world::CompilerWorld. With vfs, we can minimize the implementation overhead for AccessModel trait.
WorkspaceResolver
Resolver for handling workspace-related path operations and file ID management.

Enums§

PathResolution
Represents the resolution of a path to either a physical filesystem path or a virtual path.
WorkspaceResolution
Represents the different types of workspace resolution for a file.

Traits§

AccessModel
A trait for accessing underlying file system.
FsProvider
A trait to perform file system query.
PathAccessModel
A trait for accessing underlying file system.
RootResolver
Trait for resolving file paths and roots for different types of files.

Type Aliases§

ImmutDict
Immutable prehashed reference to dictionary.
ImmutPath
An immutable path.