Skip to content

pip cache purge show freed space #12176

@janosh

Description

@janosh

What's the problem this feature will solve?

Current report

Files removed: 364

is a bit meaningless.

Describe the solution you'd like

Much more interesting to see how much disk space was freed.

Alternative Solutions

Get cache dir location first and run du -sh on it before and after.

Additional context

I think freed disk space should be added to the default report, not hidden behind e.g. a verbose flag.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: cacheDealing with cache and files in itresolution: deferred till PRFurther discussion will happen when a PR is madetype: enhancementImprovements to functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions