💄
This commit is contained in:
parent
06f6d02579
commit
d8219545c9
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ use std::{
|
||||||
any::Any,
|
any::Any,
|
||||||
cmp::{self, Ordering},
|
cmp::{self, Ordering},
|
||||||
convert::TryFrom,
|
convert::TryFrom,
|
||||||
ffi::{OsStr, OsString},
|
ffi::OsStr,
|
||||||
fmt,
|
fmt,
|
||||||
future::Future,
|
future::Future,
|
||||||
mem,
|
mem,
|
||||||
|
@ -1489,9 +1489,9 @@ impl LocalSnapshot {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
self.entries_by_path.insert_or_replace(entry.clone(), &());
|
|
||||||
let scan_id = self.scan_id;
|
let scan_id = self.scan_id;
|
||||||
let removed_entry = self.entries_by_id.insert_or_replace(
|
self.entries_by_path.insert_or_replace(entry.clone(), &());
|
||||||
|
self.entries_by_id.insert_or_replace(
|
||||||
PathEntry {
|
PathEntry {
|
||||||
id: entry.id,
|
id: entry.id,
|
||||||
path: entry.path.clone(),
|
path: entry.path.clone(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue