Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chavyleung/scripts
/ setjson
Method
setjson
Env.js:135–141 ·
view source on GitHub ↗
(val, key)
Source
from the content-addressed store, hash-verified
133
}
134
135
setjson(val, key) {
136
try {
137
return
this.setdata(JSON.stringify(val), key)
138
} catch {
139
return
false
140
}
141
}
142
143
getScript(url) {
144
return
new
Promise((resolve) => {
Callers
nothing calls this directly
Calls
1
setdata
Method · 0.45
Tested by
no test coverage detected