MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / writeFile

Function writeFile

packages/node-runtime/src/ai/skill-manager.ts:36–38  ·  view source on GitHub ↗
(filePath, content)

Source from the content-addressed store, hash-verified

34 return fs.readFileSync(filePath, 'utf-8')
35 },
36 writeFile(filePath, content) {
37 fs.writeFileSync(filePath, content, 'utf-8')
38 },
39 deleteFile(filePath) {
40 fs.unlinkSync(filePath)
41 },

Callers 2

writeLlmConfigFunction · 0.50

Calls

no outgoing calls

Tested by 1

writeLlmConfigFunction · 0.40