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

Get & list cached files #434

Open
Nico04 opened this issue Nov 3, 2023 · 1 comment
Open

Get & list cached files #434

Nico04 opened this issue Nov 3, 2023 · 1 comment

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.
@kuyazee
Copy link

kuyazee commented Nov 7, 2024

Any update for this?

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

2 participants