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

@ -106,6 +106,10 @@ impl VfsBackend for StdBackend {
})
}
fn canonicalize(&mut self, path: &Path) -> io::Result<PathBuf> {
fs_err::canonicalize(path)
}
fn event_receiver(&self) -> crossbeam_channel::Receiver<VfsEvent> {
self.watcher_receiver.clone()
}