Baseflow / Baseflow/flutter_cache_manager

Open Api for FileInfo

未关闭
#207 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
api, mobile-dev
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。