Baseflow / Baseflow/flutter_cache_manager

not empty my cache directory

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

Description

DefaultCacheManager().emptyCache();

also this not working any idea

Future _deleteCacheDir() async {
final cacheDir = await getTemporaryDirectory();
if (cacheDir.existsSync()) {
cacheDir.deleteSync(recursive: true);
}
}

Contributor guide

Open the contributing guide

Research direction

Start by reproducing DefaultCacheManager().emptyCache() and the _deleteCacheDir() example using getTemporaryDirectory(). Check whether the temporary cache directory and its contents are removed; done means the cache is empty after the operation completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.