clearFieldDetectionCache function infrastructure exported ✓ 100.0%

Last updated: 2026-02-24T21:07:57.500Z

Metrics

LOC: 7 Complexity: 1 Params: 0 Coverage: 100.0% (2/2 lines, 1x executed)

Signature

clearFieldDetectionCache(): : Promise<void>

Summary

Clears all field detection cache entries.

Source Code

export async function clearFieldDetectionCache(): Promise<void> {
  await updateStorageAtomically(
    STORAGE_KEYS.FIELD_CACHE,
    [] as FieldDetectionCacheEntry[],
    () => [],
  );
}

Dependencies (Outgoing)

graph LR clearFieldDetectionCache["clearFieldDetectionCache"] updateStorageAtomically["updateStorageAtomically"] clearFieldDetectionCache -->|calls| updateStorageAtomically style clearFieldDetectionCache fill:#dbeafe,stroke:#2563eb,stroke-width:2px click clearFieldDetectionCache "592635f6ea1eb5e3.html" click updateStorageAtomically "bf2f57323401fa98.html"
TargetType
updateStorageAtomically calls

Impact (Incoming)

graph LR clearFieldDetectionCache["clearFieldDetectionCache"] handle["handle"] handle -->|uses| clearFieldDetectionCache style clearFieldDetectionCache fill:#dbeafe,stroke:#2563eb,stroke-width:2px click clearFieldDetectionCache "592635f6ea1eb5e3.html" click handle "8b929c06f047f82c.html"
SourceType
handle uses