MCPcopy
hub / github.com/go-git/go-git / FilePatches

Method FilePatches

plumbing/format/diff/patch.go:23–23  ·  view source on GitHub ↗

FilePatches returns a slice of patches per file.

()

Source from the content-addressed store, hash-verified

21type Patch interface {
22 // FilePatches returns a slice of patches per file.
23 FilePatches() []FilePatch
24 // Message returns an optional message that can be at the top of the
25 // Patch representation.
26 Message() string

Callers 7

parentsContainingPathFunction · 0.65
TestInsertMethod · 0.65
TestDeleteMethod · 0.65
TestModifyMethod · 0.65
StatsContextMethod · 0.65
EncodeMethod · 0.65

Implementers 2

Patchplumbing/object/patch.go
testPatchplumbing/format/diff/unified_encoder_t

Calls

no outgoing calls

Tested by 4

TestInsertMethod · 0.52
TestDeleteMethod · 0.52
TestModifyMethod · 0.52