diff --git a/rust/hg-core/src/dirstate_tree/dirstate_map.rs b/rust/hg-core/src/dirstate_tree/dirstate_map.rs
--- a/rust/hg-core/src/dirstate_tree/dirstate_map.rs
+++ b/rust/hg-core/src/dirstate_tree/dirstate_map.rs
@@ -295,18 +295,13 @@
}
}
- pub(super) fn has_entry(&self) -> bool {
- match self {
- NodeRef::InMemory(_path, node) => node.entry.is_some(),
- NodeRef::OnDisk(node) => node.has_entry(),
- }
- }
-
pub(super) fn entry(
&self,
) -> Result