MCPcopy
hub / github.com/stemdeckapp/stemdeck / saveState

Function saveState

static/js/catalog.js:241–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239}
240
241function saveState() {
242 ensureTrash();
243 storeSet(STORAGE_KEY, { v: STORAGE_VERSION, folders, tracks }).catch((e) =>
244 console.warn("[catalog] failed to save state:", e)
245 );
246}
247
248// ─── Track management ───
249

Callers 15

loadStateFunction · 0.85
addTrackToLibraryFunction · 0.85
updateTrackStatusFunction · 0.85
applyTrackInfoToPanelFunction · 0.85
moveTrackToTrashFunction · 0.85
loadTrackIntoStudioFunction · 0.85
createFolderFunction · 0.85
deleteFolderFunction · 0.85
reorderFolderFunction · 0.85
reparentFolderFunction · 0.85
openFolderEditorFunction · 0.85
dropOnFolderFunction · 0.85

Calls 2

storeSetFunction · 0.90
ensureTrashFunction · 0.85

Tested by

no test coverage detected