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

FuncType ApplyDeltaCallback

diff.go:895–895  ·  view source on GitHub ↗

ApplyDeltaCallback is a callback that will be made per hunk when applying a patch.

func(*DiffDelta) (apply bool, err error)

Source from the content-addressed store, hash-verified

893
894// ApplyDeltaCallback is a callback that will be made per hunk when applying a patch.
895type ApplyDeltaCallback func(*DiffDelta) (apply bool, err error)
896
897// ApplyOptions has 2 callbacks that are called for hunks or deltas
898// If these functions return an error, abort the apply process immediately.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…