mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-14 01:32:24 +00:00
Prune unused source distributions from the cache (#7112)
## Summary This has bothered me for a while and should be fairly impactful for users. It requires a weird implementation, since the distribution-building crate depends on the cache, and so the prune operation can't live in the cache, since it needs to access internals of the distribution-building crate. Closes https://github.com/astral-sh/uv/issues/7096.
This commit is contained in:
parent
1422e18674
commit
93fe3e83be
10 changed files with 213 additions and 10 deletions
|
|
@ -4,6 +4,7 @@ pub use error::Error;
|
|||
pub use index::{BuiltWheelIndex, RegistryWheelIndex};
|
||||
pub use metadata::{ArchiveMetadata, LoweredRequirement, Metadata, RequiresDist};
|
||||
pub use reporter::Reporter;
|
||||
pub use source::prune;
|
||||
|
||||
mod archive;
|
||||
mod distribution_database;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue