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

Method Chunks

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

Chunks returns a slice of ordered changes to transform "from" File into "to" File. If the file is a binary one, Chunks will be empty.

()

Source from the content-addressed store, hash-verified

37 // Chunks returns a slice of ordered changes to transform "from" File into
38 // "to" File. If the file is a binary one, Chunks will be empty.
39 Chunks() []Chunk
40}
41
42// File contains all the file metadata necessary to print some patch formats.

Callers 5

TestInsertMethod · 0.65
TestDeleteMethod · 0.65
TestModifyMethod · 0.65
EncodeMethod · 0.65

Implementers 2

textFilePatchplumbing/object/patch.go
testFilePatchplumbing/format/diff/unified_encoder_t

Calls

no outgoing calls

Tested by 3

TestInsertMethod · 0.52
TestDeleteMethod · 0.52
TestModifyMethod · 0.52