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
20 changed files with 209 additions and 59 deletions

View File

@@ -59,7 +59,7 @@ pub fn snapshot_json_model(
snapshot.metadata = snapshot
.metadata
.instigating_source(path)
.relevant_paths(vec![path.to_path_buf()])
.relevant_paths(vec![vfs.canonicalize(path)?])
.context(context)
.specified_id(id)
.schema(schema);