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

Function TestWriteFileWriteErrorWhenTargetIsDir

internal/tools/write_test.go:68–78  ·  view source on GitHub ↗

TestWriteFileWriteErrorWhenTargetIsDir checks the (write error) branch: writing to an existing directory fails at os.WriteFile, and the error must come back in the output string. A directory target is root-safe, as above.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

WriteFileFunction · 0.85

Tested by

no test coverage detected