mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-25 17:38:21 +00:00
## Summary I noticed in #2769 that I was now stripping `.git` suffixes from Git URLs after resolving to a precise commit. This PR cleans up the internal caching to use a better canonical representation: a `RepositoryUrl` along with a `GitReference`, instead of a `GitUrl` which can contain non-canonical data. This gives us both better fidelity (preserving the `.git`, along with any casing that the user provided when defining the URL) and is overall cleaner and more robust. |
||
|---|---|---|
| .. | ||
| cache_key.rs | ||
| canonical_url.rs | ||
| digest.rs | ||
| lib.rs | ||
| stable_hash.rs | ||