commercialhaskell / commercialhaskell/stack

Feature request: Ability to purge unused cache when building

Open
#6,771 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Description:
It would be very helpful to have a feature or command to easily remove unused cache. Currently, there doesn't seem to be a straightforward way to clear cache that is no longer in use, which can lead to unnecessary storage consumption over time.

Suggestion:
- A function in the CLI to clean up cache that hasn’t been accessed for a certain period or is no longer referenced.
- An option to manually trigger the cleanup of unused cache.

Rationale:
This would help users keep their environments clean and avoid wasting storage space, especially in projects with large amounts of cached data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.