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

Struct Patch

plumbing/object/patch.go:115–118  ·  view source on GitHub ↗

Patch is an implementation of fdiff.Patch interface

Source from the content-addressed store, hash-verified

113
114// Patch is an implementation of fdiff.Patch interface
115type Patch struct {
116 message string
117 filePatches []fdiff.FilePatch
118}
119
120func (p *Patch) FilePatches() []fdiff.FilePatch {
121 return p.filePatches

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected