From 3d70ba7f946fca995d4b6067677f2010288e9767 Mon Sep 17 00:00:00 2001 From: "Alexis (Poliorcetics) Bourget" Date: Sat, 6 May 2023 16:02:34 +0200 Subject: [PATCH] chore: remove unused method --- crates/vfs/src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/vfs/src/lib.rs b/crates/vfs/src/lib.rs index b510b9e39427..16fff36a770d 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 { self.interner.get(path).filter(|&it| self.get(it).is_some())