Skip to content

Commit 3d70ba7

Browse files
committed
chore: remove unused method
1 parent c5e0607 commit 3d70ba7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/vfs/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,6 @@ pub enum ChangeKind {
108108
}
109109

110110
impl Vfs {
111-
/// Amount of files currently stored.
112-
///
113-
/// Note that this includes deleted files.
114-
pub fn len(&self) -> usize {
115-
self.data.len()
116-
}
117-
118111
/// Id of the given path if it exists in the `Vfs` and is not deleted.
119112
pub fn file_id(&self, path: &VfsPath) -> Option<FileId> {
120113
self.interner.get(path).filter(|&it| self.get(it).is_some())

0 commit comments

Comments
 (0)