MCPcopy Create free account
hub / github.com/codehamr/codehamr / WriteFile

Function WriteFile

internal/tools/write.go:12–32  ·  view source on GitHub ↗

WriteFile writes content to path, creating parent dirs. Errors return as part of the output string (bash convention), never as a Go error, so the model sees a write failure the way it sees a non-zero bash exit.

(path, content string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls