Struct ra_ap_vfs::Vfs [−][src]
pub struct Vfs { /* fields omitted */ }
Expand description
Storage for all files read by rust-analyzer.
For more informations see the crate-level documentation.
Implementations
Amount of files currently stored.
Note that this includes deleted files.
Id of the given path if it exists in the Vfs
and is not deleted.
File content corresponding to the given file_id
.
Panics
Panics if the id is not present in the Vfs
, or if the corresponding file is
deleted.
Returns an iterator over the stored ids and their corresponding paths.
This will skip deleted files.
Returns true
if the Vfs
contains changes.
Drain and returns all the changes in the Vfs
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Vfs
impl UnwindSafe for Vfs