diff options
| author | Alexis (Poliorcetics) Bourget <ab_github@poliorcetiq.eu> | 2023-05-06 16:02:34 +0200 |
|---|---|---|
| committer | Alexis (Poliorcetics) Bourget <ab_github@poliorcetiq.eu> | 2023-05-06 16:02:34 +0200 |
| commit | 3d70ba7f946fca995d4b6067677f2010288e9767 (patch) | |
| tree | 1b633c0003b4a50a046ded4217efb5b25794f387 | |
| parent | c5e0607915075b37c3eb0e4d3caf8aac4d0b76ec (diff) | |
| download | rust-3d70ba7f946fca995d4b6067677f2010288e9767.tar.gz rust-3d70ba7f946fca995d4b6067677f2010288e9767.zip | |
chore: remove unused method
| -rw-r--r-- | crates/vfs/src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/vfs/src/lib.rs b/crates/vfs/src/lib.rs index b510b9e3942..16fff36a770 100644 --- a/crates/vfs/src/lib.rs +++ b/crates/vfs/src/lib.rs @@ -108,13 +108,6 @@ pub enum ChangeKind { } impl Vfs { - /// Amount of files currently stored. - /// - /// Note that this includes deleted files. - pub fn len(&self) -> usize { - self.data.len() - } - /// Id of the given path if it exists in the `Vfs` and is not deleted. pub fn file_id(&self, path: &VfsPath) -> Option<FileId> { self.interner.get(path).filter(|&it| self.get(it).is_some()) |
