fix: name prop not properly syncing

This commit is contained in:
2025-12-15 19:08:18 +01:00
parent 37e44e474a
commit 5c396322d9
8 changed files with 43 additions and 0 deletions

View File

@@ -245,6 +245,9 @@ impl AdjacentMetadata {
self.path.display()
);
}
if let Some(name) = &self.name {
snapshot.name = name.clone().into();
}
snapshot.metadata.specified_name = self.name.take();
Ok(())
}
@@ -534,6 +537,9 @@ impl DirectoryMetadata {
self.path.display()
);
}
if let Some(name) = &self.name {
snapshot.name = name.clone().into();
}
snapshot.metadata.specified_name = self.name.take();
Ok(())
}