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

Interface Chunk

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

Chunk represents a portion of a file transformation into another.

Source from the content-addressed store, hash-verified

51
52// Chunk represents a portion of a file transformation into another.
53type Chunk interface {
54 // Content contains the portion of the file.
55 Content() string
56 // Type contains the Operation to do with this Chunk.
57 Type() Operation
58}

Callers 10

GenerateMethod · 0.65
GenerateMethod · 0.65
addLineNumbersMethod · 0.65
getNextMemoryObjectMethod · 0.65
NextMethod · 0.65
entryMethod · 0.65
ObjectsToPackMethod · 0.65

Implementers 3

textChunkplumbing/object/patch.go
SortReadObjectplumbing/object/tree_test.go
testChunkplumbing/format/diff/unified_encoder_t

Calls

no outgoing calls

Tested by

no test coverage detected