MCPcopy Create free account
hub / github.com/EvoMap/evolver / writeLegacyNodeSecret

Function writeLegacyNodeSecret

test/oauthLogin.test.js:95–99  ·  view source on GitHub ↗
(home, secret, version, source)

Source from the content-addressed store, hash-verified

93}
94
95function writeLegacyNodeSecret(home, secret, version, source) {
96 fs.writeFileSync(path.join(home, 'node_secret'), secret, 'utf8');
97 if (version) fs.writeFileSync(path.join(home, 'node_secret_version'), String(version), 'utf8');
98 if (source) fs.writeFileSync(path.join(home, 'node_secret_source'), source, 'utf8');
99}
100
101function writeMailboxState(home, state) {
102 const mailboxDir = path.join(home, 'mailbox');

Callers 1

oauthLogin.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected