MCPcopy
hub / github.com/pingdotgg/t3code / resolveSecretPath

Function resolveSecretPath

apps/server/src/auth/ServerSecretStore.ts:169–169  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

167 );
168
169 const resolveSecretPath = (name: string) => path.join(serverConfig.secretsDir, `${name}.bin`);
170
171 const get: ServerSecretStore["Service"]["get"] = (name) =>
172 fileSystem.readFile(resolveSecretPath(name)).pipe(

Callers 4

getFunction · 0.85
setFunction · 0.85
createFunction · 0.85
removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected