Document PathUri drive letter canonicalization (#34667)

GitOrigin-RevId: 014acdb369f6861f4dc683282a56dce3a5eb4caf
This commit is contained in:
Celia Chen
2026-07-22 02:53:53 +00:00
committed by copyberry
parent cefcffd692
commit 661339bb09
+3 -2
View File
@@ -12,8 +12,9 @@
* created by [`Self::from_abs_path`] are opaque to these lexical operations.
*
* `file:` paths retain their URI spelling so they can be parsed independently
* of the current host. A local POSIX `file:` URI can also retain
* percent-encoded non-UTF-8 bytes for lossless native round trips.
* of the current host, except that Windows drive letters are canonicalized to
* uppercase. A local POSIX `file:` URI can also retain percent-encoded non-UTF-8
* bytes for lossless native round trips.
*
* Like [VS Code resources], path operations use `/` URI separators on every
* host. Lexical path operations preserve a URL authority without interpreting