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§

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
trace
Provides trace access model which traces the underlying access model.

Structs§

Bytes
A sequence of bytes.
DisplayEntryMap
DisplayPathMap
DisplayVfs
RevisingVfs
SharedAccessModel
SourceCache
Time
A measurement of the system clock, useful for talking to external entities like the file system or other processes.
TypstFileId
Identifies a file in a project or package.
Vfs
Create 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

Enums§

PathResolution
WorkspaceResolution

Traits§

AccessModel
A trait for accessing underlying file system.
FsProvider
PathAccessModel
A trait for accessing underlying file system.
RootResolver

Type Aliases§

FileId
Handle to a file in Vfs
ImmutDict
Immutable prehashed reference to dictionary.
ImmutPath
An immutable path.