Baseflow / Baseflow/flutter_cache_manager

Is there a method to check whether a file exists in the cache using its url?

Open
#470 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 💬 Questions and Help

Hi,

I've looked through the documentation, the issues on GitHub and source code.
I'd like to know, using its URL, if a file exists in the cache.

I've only found a private method in the cache manager's `CacheStore`: `_fileExists()`.
But since it's private, I cannot use it.

Any other suggestions?

Contributor guide

Open the contributing guide

Research direction

The issue names CacheStore._fileExists() as the existing private entry point; start by reading that method and the surrounding cache-manager API and documentation. Determine whether URL-based cache existence is already exposed, then clarify the expected public behavior before deciding what change or documentation would make the answer definitive.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.