getFieldDetectionCache function infrastructure exported ✓ 100.0%
Last updated: 2026-02-24T21:07:57.500Z
Metrics
LOC: 8
Complexity: 1
Params: 0
Coverage: 100.0% (1/1 lines, 6x executed)
Signature
getFieldDetectionCache(): : Promise<
FieldDetectionCacheEntry[]
>
Summary
Retrieves all field detection cache entries.
Source Code
export async function getFieldDetectionCache(): Promise<
FieldDetectionCacheEntry[]
> {
return getFromStorage<FieldDetectionCacheEntry[]>(
STORAGE_KEYS.FIELD_CACHE,
[],
);
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| FieldDetectionCacheEntry | uses |
| DetectedFieldSummary | uses |
| updateStorageAtomically | uses |
| getFromStorage | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| handle | uses |
| getFieldDetectionCacheForUrl | calls |