uv/crates/uv-cache/src
Charlie Marsh 21408c1f35
Enforce extension validity at parse time (#5888)
## Summary

This PR adds a `DistExtension` field to some of our distribution types,
which requires that we validate that the file type is known and
supported when parsing (rather than when attempting to unzip). It
removes a bunch of extension parsing from the code too, in favor of
doing it once upfront.

Closes https://github.com/astral-sh/uv/issues/5858.
2024-08-08 21:39:47 -04:00
..
archive.rs Store IDs rather than paths in the cache (#2985) 2024-04-10 21:07:51 -04:00
by_timestamp.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
cli.rs Grouping GlobalArgs to dedicated heading (#5665) 2024-08-01 10:01:22 -05:00
lib.rs Enforce extension validity at parse time (#5888) 2024-08-08 21:39:47 -04:00
removal.rs Add --ci mode to uv cache prune (#5391) 2024-07-24 19:34:19 +00:00
timestamp.rs Avoid canonicalizing executables on Windows (#5446) 2024-07-26 08:57:33 -04:00
wheel.rs Use hasher to compute resolution hash (#5495) 2024-07-26 23:24:09 +00:00