MCPcopy Create free account
hub / github.com/go-git/go-git / getPatch

Function getPatch

plumbing/object/patch.go:24–27  ·  view source on GitHub ↗
(message string, changes ...*Change)

Source from the content-addressed store, hash-verified

22)
23
24func getPatch(message string, changes ...*Change) (*Patch, error) {
25 ctx := context.Background()
26 return getPatchContext(ctx, message, changes...)
27}
28
29func getPatchContext(ctx context.Context, message string, changes ...*Change) (*Patch, error) {
30 var filePatches []fdiff.FilePatch

Callers 1

Calls 1

getPatchContextFunction · 0.85

Tested by 1