R3.1: real paths without \?\ on Windows (dunce); old recent lists read plain

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 18:46:37 -04:00
1 parent 1066b41cb0
commit d0b5aede95
21 files changed
+59 -24

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ impl Sessions {
/// The key of an existing file; missing fails loud.
fn key(path: &Path) -> io::Result<Key> {
Ok(Key {
canonical: std::fs::canonicalize(path)?,
canonical: dunce::canonicalize(path)?,
id: file_id(path)?,
})
}