Skip to content

Commit 6a5713e

Browse files
committed
update documentation
1 parent 757e505 commit 6a5713e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

flutter_cache_manager/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [3.2.0] - 2021-11-27
2+
* [Bugfix] getSingleFile now downloads a new file before completing as the outdated file might have been deleted.
3+
14
## [3.1.3] - 2021-11-05
25
* Disabled resizing of cached gifs as this was broken.
36

flutter_cache_manager/lib/src/cache_manager.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ class CacheManager implements BaseCacheManager {
6767

6868
/// Get the file from the cache and/or online, depending on availability and age.
6969
/// Downloaded form [url], [headers] can be used for example for authentication.
70-
/// When a file is cached it is return directly, when it is too old the file is
71-
/// downloaded in the background. When a cached file is not available the
72-
/// newly downloaded file is returned.
70+
/// When a file is cached and up to date it is return directly, when the cached
71+
/// file is too old the file is downloaded and returned after download.
72+
/// When a cached file is not available the newly downloaded file is returned.
7373
@override
7474
Future<File> getSingleFile(
7575
String url, {

0 commit comments

Comments
 (0)