MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / writeSecretStore

Function writeSecretStore

desktop/main.mjs:170–173  ·  view source on GitHub ↗
(store)

Source from the content-addressed store, hash-verified

168}
169
170async function writeSecretStore(store) {
171 await ensureUserDataDir()
172 await writeFile(secretStorePath(), JSON.stringify(store, null, 2), 'utf8')
173}
174
175function encodeSecret(value) {
176 if (!value) {

Callers 1

setSecretFunction · 0.85

Calls 3

ensureUserDataDirFunction · 0.85
writeFileFunction · 0.85
secretStorePathFunction · 0.85

Tested by

no test coverage detected