Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup should look for orphan files in cache directory and remove them #24

Open
flipmcf opened this issue Aug 1, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@flipmcf
Copy link
Owner

flipmcf commented Aug 1, 2022

If for some reason a file exists on the cache that is not referenced by the database, we should remove that file from the cache.

If not, it will remain forever.

Files living in the cache that are not in the db are user error or bugs in casterpak. These files should be noted during cleanup.

Maybe a config setting to force removal of orphaned files, and default it to true.

@flipmcf flipmcf added the enhancement New feature or request label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant