epwalsh / epwalsh/rust-cached-path

Add functionality to restrict the disk space used by the Cache

Open
#73 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
34
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hello @epwalsh, thank you for this project, it's very useful!
One issue that I have is that the cache sometimes takes up all of the disk space, for when I'm doing an operation that moved a lot of data around.
A solution for that would be to implement a maximum size which the cache can occupy on disk and a strategy to remove entries.

If you have some specific idea or direction on how this could be implemented I'd be happy to do it and write tests for it.
Cheers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.