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

Struct textFilePatch

plumbing/object/patch.go:177–180  ·  view source on GitHub ↗

textFilePatch is an implementation of fdiff.FilePatch interface

Source from the content-addressed store, hash-verified

175
176// textFilePatch is an implementation of fdiff.FilePatch interface
177type textFilePatch struct {
178 chunks []fdiff.Chunk
179 from, to ChangeEntry
180}
181
182func (tf *textFilePatch) Files() (from fdiff.File, to fdiff.File) {
183 f := &changeEntryWrapper{tf.from}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected