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

Function TestReadFileTruncatesOversizeContent

internal/tools/read_test.go:42–57  ·  view source on GitHub ↗

TestReadFileTruncatesOversizeContent: ReadFile obeys the same Truncate head+tail cap as every other tool. Oversize content must carry the marker so the model re-reads a slice rather than trusting a silently-clipped blob.

(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

ReadFileFunction · 0.85

Tested by

no test coverage detected