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

Function loadProfilesData

src/hooks/profilesStorage.ts:65–67  ·  view source on GitHub ↗
(storage: ProfilesStorageLike = localStorage)

Source from the content-addressed store, hash-verified

63}
64
65export function loadProfilesData(storage: ProfilesStorageLike = localStorage): ProfilesData {
66 return parseProfilesDataJson(storage.getItem(STORAGE_KEYS.profiles));
67}
68
69export function saveProfilesData(data: ProfilesData, storage: ProfilesStorageLike = localStorage): void {
70 storage.setItem(STORAGE_KEYS.profiles, serializeProfilesData(data));

Callers 1

Calls 2

parseProfilesDataJsonFunction · 0.85
getItemMethod · 0.80

Tested by

no test coverage detected