MCPcopy Index your code
hub / github.com/go-git/go-git / testFilePatch

Struct testFilePatch

plumbing/format/diff/unified_encoder_test.go:1015–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013}
1014
1015type testFilePatch struct {
1016 from, to *testFile
1017 chunks []testChunk
1018}
1019
1020func (t testFilePatch) IsBinary() bool {
1021 return len(t.chunks) == 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected