MCPcopy Create free account
hub / github.com/go-git/go-git / FilePatches

Method FilePatches

plumbing/format/diff/unified_encoder_test.go:1002–1009  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1000}
1001
1002func (t testPatch) FilePatches() []FilePatch {
1003 var result []FilePatch
1004 for _, f := range t.filePatches {
1005 result = append(result, f)
1006 }
1007
1008 return result
1009}
1010
1011func (t testPatch) Message() string {
1012 return t.message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected