MCPcopy Create free account
hub / github.com/libgit2/git2go / GetDelta

Method GetDelta

diff.go:161–163  ·  view source on GitHub ↗

deprecated: You should use `Diff.Delta()` instead.

(index int)

Source from the content-addressed store, hash-verified

159
160// deprecated: You should use `Diff.Delta()` instead.
161func (diff *Diff) GetDelta(index int) (DiffDelta, error) {
162 return diff.Delta(index)
163}
164
165func newDiffFromC(ptr *C.git_diff, repo *Repository) *Diff {
166 if ptr == nil {

Callers

nothing calls this directly

Calls 1

DeltaMethod · 0.95

Tested by

no test coverage detected