equal
deleted
inserted
replaced
962 pub fn clear(&mut self) { |
962 pub fn clear(&mut self) { |
963 self.with_dmap_mut(|map| { |
963 self.with_dmap_mut(|map| { |
964 map.root = Default::default(); |
964 map.root = Default::default(); |
965 map.nodes_with_entry_count = 0; |
965 map.nodes_with_entry_count = 0; |
966 map.nodes_with_copy_source_count = 0; |
966 map.nodes_with_copy_source_count = 0; |
|
967 map.unreachable_bytes = map.on_disk.len() as u32; |
967 }); |
968 }); |
968 } |
969 } |
969 |
970 |
970 pub fn set_tracked( |
971 pub fn set_tracked( |
971 &mut self, |
972 &mut self, |