Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ Patch
Struct
Patch
patch.go:12–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
)
11
12
type
Patch
struct
{
13
doNotCompare
14
ptr *C.git_patch
15
}
16
17
func
newPatchFromC(ptr *C.git_patch) *Patch {
18
if
ptr == nil {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected