Expand description
Path canonicalization that yields shell-usable paths on every platform.
Every registered repo path flows through canonicalize before it is
stored in the registry, inspected for status, or emitted by switch. The
result must therefore be a path the user’s shell can cd into directly.
Functions§
- canonicalize
- Canonicalize
path, stripping the Windows\\?\verbatim prefix whenever the simplified form is unambiguous. On Unix this is a plain canonicalize.