MCPcopy Create free account
hub / github.com/error311/FileRise / writeLayout

Function writeLayout

public/js/dragAndDrop.js:52–54  ·  view source on GitHub ↗
(layout)

Source from the content-addressed store, hash-verified

50 catch (e) { return {}; }
51}
52function writeLayout(layout) {
53 localStorage.setItem(LAYOUT_KEY, JSON.stringify(layout || {}));
54}
55function setLayoutFor(cardId, zoneId) {
56 const layout = readLayout();
57 const prevZone = layout[cardId];

Callers 2

setLayoutForFunction · 0.85
saveCurrentLayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected