MCPcopy Create free account
hub / github.com/GCWing/BitFun / saveStorage

Function saveStorage

src/apps/desktop/resources/worker_host.js:56–58  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

54}
55
56function saveStorage(obj) {
57 fs.writeFileSync(storagePath, JSON.stringify(obj, null, 2), 'utf8');
58}
59
60let userHandlers = {};
61let userHandlerLoadError = null;

Callers 1

dispatchFunction · 0.70

Calls 1

stringifyMethod · 0.80

Tested by

no test coverage detected