Baseflow / Baseflow/flutter_cache_manager
not empty my cache directory
Ouverte
- Langage dominant
- Dart
- Étoiles
- 809
- Forks
- 510
- Merge moyen
- 6 min
- PR mergées (30 j)
- 1
Description
DefaultCacheManager().emptyCache();
also this not working any idea
Future _deleteCacheDir() async {
final cacheDir = await getTemporaryDirectory();
if (cacheDir.existsSync()) {
cacheDir.deleteSync(recursive: true);
}
}
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter
- Domaine
- mobile-dev
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100