Implement VFS Path normalization for improved cross-platform tree synchronization (#1201)

This commit is contained in:
Ivan Matthew 2026-01-20 00:04:59 +01:00 • committed by GitHub
parent 02b41133f8
commit 2a1102fc55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 209 additions and 59 deletions

View file

@ -42,7 +42,7 @@ pub fn snapshot_csv(
.metadata(
InstanceMetadata::new()
.instigating_source(path)
.relevant_paths(vec![path.to_path_buf()]),
.relevant_paths(vec![vfs.canonicalize(path)?]),
);
AdjacentMetadata::read_and_apply_all(vfs, path, name, &mut snapshot)?;