MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / saveProfilesData

Function saveProfilesData

src/hooks/profilesStorage.ts:69–71  ·  view source on GitHub ↗
(data: ProfilesData, storage: ProfilesStorageLike = localStorage)

Source from the content-addressed store, hash-verified

67}
68
69export function saveProfilesData(data: ProfilesData, storage: ProfilesStorageLike = localStorage): void {
70 storage.setItem(STORAGE_KEYS.profiles, serializeProfilesData(data));
71}

Callers 2

useProfilesFunction · 0.90

Calls 2

serializeProfilesDataFunction · 0.85
setItemMethod · 0.80

Tested by

no test coverage detected