release method

Future<void> release(
  1. String cacheKey
)

Releases a cached resolved path.

Implementation

Future<void> release(String cacheKey) async {
  final path = _resolvedPaths.remove(cacheKey);
  if (path != null) {
    try {
      final file = File(path);
      if (await file.exists()) {
        await file.delete();
      }
    } catch (e) {
      // Ignore errors during cleanup
    }
  }
}