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

Struct textChunk

plumbing/object/patch.go:206–209  ·  view source on GitHub ↗

textChunk is an implementation of fdiff.Chunk interface

Source from the content-addressed store, hash-verified

204
205// textChunk is an implementation of fdiff.Chunk interface
206type textChunk struct {
207 content string
208 op fdiff.Operation
209}
210
211func (t *textChunk) Content() string {
212 return t.content

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected