Baseflow / Baseflow/flutter_cache_manager

Get & list cached files

Open
#434 1 comment 12 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 🚀 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.

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.