MCPcopy Index your code
hub / github.com/Waishnav/devspace / writeJsonFile

Function writeJsonFile

src/user-config.ts:100–102  ·  view source on GitHub ↗
(filePath: string, value: unknown, mode: number)

Source from the content-addressed store, hash-verified

98}
99
100function writeJsonFile(filePath: string, value: unknown, mode: number): void {
101 writeFileSync(filePath, JSON.stringify(value, null, 2) + "\n", { mode });
102}

Callers 2

writeDevspaceConfigFunction · 0.85
writeDevspaceAuthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected