MCPcopy
hub / github.com/seanprashad/leetcode-patterns / loadCompleted

Function loadCompleted

src/lib/storage.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29export function loadCompleted(): Set<number> {
30 return new Set(loadJson<number[]>(STORAGE_KEY, []));
31}
32
33export function saveCompleted(ids: Set<number>): void {
34 saveJson(STORAGE_KEY, [...ids]);

Callers 7

QuestionsTableFunction · 0.90
RoadmapViewFunction · 0.90
sync.test.tsFile · 0.90
storage.test.tsFile · 0.90
uploadProgressFunction · 0.90
mergeFromRealtimePayloadFunction · 0.90
migrateLegacyProgressFunction · 0.85

Calls 1

loadJsonFunction · 0.85

Tested by

no test coverage detected