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

Function parseNodeSecretVersion

src/proxy/lifecycle/manager.js:367–370  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

365}
366
367function parseNodeSecretVersion(value) {
368 const n = Number(value);
369 return Number.isInteger(n) && n > 0 ? n : null;
370}
371
372const NODE_SECRET_RE = /^[a-f0-9]{64}$/i;
373const NODE_SECRET_SUPPRESSION_RE = /^sha256:[a-f0-9]{64}$/i;

Callers 4

nodeSecretVersionMethod · 0.70
helloMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected