Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
function
saveStorage(obj) {
57
fs.writeFileSync(storagePath, JSON.stringify(obj, null, 2),
'utf8'
);
58
}
59
60
let
userHandlers = {};
61
let
userHandlerLoadError = null;
Callers
1
dispatch
Function · 0.70
Calls
1
stringify
Method · 0.80
Tested by
no test coverage detected