MCPcopy Index your code
hub / github.com/spicetify/cli / writeStorage

Function writeStorage

jsHelper/sidebarConfig.js:56–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 function writeStorage() {
57 const array = ordered.map((a) => [a[0].dataset.id, a[1]]);
58
59 return localStorage.setItem("spicetify-sidebar-config:ylx", JSON.stringify(array));
60 }
61
62 const container = document.createElement("div");
63 container.id = "spicetify-sidebar-config";

Callers 1

removeInteractionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected