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

Struct ApplyOptions

diff.go:900–904  ·  view source on GitHub ↗

ApplyOptions has 2 callbacks that are called for hunks or deltas If these functions return an error, abort the apply process immediately. If the first return value is true, the delta/hunk will be applied. If it is false, the delta/hunk will not be applied. In either case, the rest of the apply proc

Source from the content-addressed store, hash-verified

898// If these functions return an error, abort the apply process immediately.
899// If the first return value is true, the delta/hunk will be applied. If it is false, the delta/hunk will not be applied. In either case, the rest of the apply process will continue.
900type ApplyOptions struct {
901 ApplyHunkCallback ApplyHunkCallback
902 ApplyDeltaCallback ApplyDeltaCallback
903 Flags uint
904}
905
906type applyCallbackData struct {
907 options *ApplyOptions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected