MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / flatAuthEntries

Function flatAuthEntries

apps/local/src/db/v1-v2-migration.ts:647–653  ·  view source on GitHub ↗
(auth: AuthFile)

Source from the content-addressed store, hash-verified

645};
646
647const flatAuthEntries = (auth: AuthFile): Record<string, string> => {
648 const out: Record<string, string> = {};
649 for (const [key, value] of Object.entries(auth)) {
650 if (typeof value === "string") out[key] = value;
651 }
652 return out;
653};
654
655const writeFlatAuthFile = (path: string, values: Record<string, string>): void => {
656 if (Object.keys(values).length === 0) return;

Callers 1

collectSecretValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected