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

FuncType ApplyHunkCallback

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

ApplyHunkCallback is a callback that will be made per delta (file) when applying a patch.

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

Source from the content-addressed store, hash-verified

890
891// ApplyHunkCallback is a callback that will be made per delta (file) when applying a patch.
892type ApplyHunkCallback func(*DiffHunk) (apply bool, err error)
893
894// ApplyDeltaCallback is a callback that will be made per hunk when applying a patch.
895type ApplyDeltaCallback func(*DiffDelta) (apply bool, err error)

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…