Struct racer::FileCache
[−]
[src]
pub struct FileCache { /* fields omitted */ }
Caches file contents for re-use between sessions.
The file cache is an opaque blob outside of racer which contains maps of loaded and masked files.
Methods
impl FileCache
[src]
fn new<L: FileLoader + 'static>(loader: L) -> FileCache
Create a new file cache
In order to load files into the cache, please see
Session::cache_file_contents()
fn remove_file<P: AsRef<Path>>(&self, path: &P) -> bool
Remove specific files from the cache
Returns true if a file was removed