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

Function writeAuthFile

packages/plugins/file-secrets/src/index.test.ts:35–38  ·  view source on GitHub ↗
(filePath: string, contents: string, mode = 0o600)

Source from the content-addressed store, hash-verified

33 );
34
35const writeAuthFile = (filePath: string, contents: string, mode = 0o600): void => {
36 mkdirSync(dirname(filePath), { recursive: true });
37 writeFileSync(filePath, contents, { mode });
38};
39
40describe("file secrets auth location", () => {
41 let workDir: string;

Callers 1

index.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected