MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / writeRuntimeProcsFile

Function writeRuntimeProcsFile

projects/electron/src/modules/code/procs/index.ts:105–108  ·  view source on GitHub ↗
(params: { filePath: string; content: string })

Source from the content-addressed store, hash-verified

103}
104
105export async function writeRuntimeProcsFile(params: { filePath: string; content: string }): Promise<void> {
106 validateConfigFilePath(params.filePath)
107 await fs.writeFile(params.filePath, params.content, "utf-8")
108}
109
110export async function loadRuntimeEditableProcs(params: { filePath: string; searchPath?: string }): Promise<EditableProcsFile> {
111 validateConfigFilePath(params.filePath)

Callers 1

Calls 2

validateConfigFilePathFunction · 0.85
writeFileMethod · 0.80

Tested by

no test coverage detected