pub fn canonical_key(path: &Path) -> PathBufExpand description
Normalise a repository path into the form used as a registry key.
Falls back to the path as given when it cannot be canonicalised (e.g. it no longer exists), so entries for deleted repos stay addressable.