Baseflow / Baseflow/flutter_cache_manager

Open Api for FileInfo

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

Description

## 🚀 Feature Requests

When getting a file (e.g. via `getSingleFile`) it'd be nice to also know wether it came from cache or the internet.
We already can do this by manually trying to first get it from cache or otherwise the internet, but the "one function does it all" approach would be nice as well.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the getSingleFile entry point and the FileInfo type to see how cache and internet retrieval are currently represented. Define the source information the API should expose, then add coverage for both cache and internet paths; done means callers can identify which source supplied the file through one function.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
api, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.