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

Function readRuntimeProcsFile

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

Source from the content-addressed store, hash-verified

98}
99
100export async function readRuntimeProcsFile(params: { filePath: string }): Promise<string> {
101 validateConfigFilePath(params.filePath)
102 return fs.readFile(params.filePath, "utf-8")
103}
104
105export async function writeRuntimeProcsFile(params: { filePath: string; content: string }): Promise<void> {
106 validateConfigFilePath(params.filePath)

Callers 1

Calls 2

validateConfigFilePathFunction · 0.85
readFileMethod · 0.80

Tested by

no test coverage detected