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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get & list cached files #434

Open
Nico04 opened this issue Nov 3, 2023 · 0 comments
Open

Get & list cached files #434

Nico04 opened this issue Nov 3, 2023 · 0 comments

Comments

@Nico04
Copy link

Nico04 commented Nov 3, 2023

馃殌 Feature Requests

The default CacheManager is great, and automatic caching is great.
But for some files, I need to manually download them to cache, using downloadFile, great.
But later, I need to check wether a file is already cached, to decide whether to download it or not.
And I need to do that for hundreds of files.

So it would be very nice to add too methods :

  1. A method to check whether a file is cached or not (without providing the File itself), returning a bool.
  2. A method to list ALL cached files (like provider.getAllObjects() in CacheStore), returning a list of keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant