Baseflow / Baseflow/flutter_cache_manager

How to customize the file name

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

描述

## 💬 Questions and Help

I tried using
`
var file = await DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf')
`
but I got a file with a path
`
'/cache/libCachedImageData/1f91faa0-a9dd-1df7-98e4-0df546dcdedb.pdf"
`

贡献指南

打开贡献指南

调研方向

从 issue 中展示的 DefaultCacheManager().getSingleFile('https:xxx.com/test.pdf') 用法开始,检查缓存管理器 API 文档以及用于文件命名的入口点。完成标准是记录调用方是否可以自定义缓存文件名,并在支持的情况下解释相关选项。

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

评估

技术栈
dart, flutter
领域
mobile-dev
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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