Smarter reconciliation algorithm

This commit is contained in:
Lucien Greathouse
2019-01-08 14:23:48 -08:00
parent 70ba101fe1
commit b9f7d3d889
2 changed files with 38 additions and 16 deletions

View File

@@ -135,6 +135,7 @@ impl RbxSession {
pub fn path_renamed(&mut self, from_path: &Path, to_path: &Path) {
info!("Path renamed from {} to {}", from_path.display(), to_path.display());
self.path_map.remove(from_path);
self.path_created_or_updated(from_path);
self.path_created_or_updated(to_path);
}