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

Struct DiffHunk

diff.go:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98type DiffHunk struct {
99 OldStart int
100 OldLines int
101 NewStart int
102 NewLines int
103 Header string
104}
105
106func diffHunkFromC(hunk *C.git_diff_hunk) DiffHunk {
107 return DiffHunk{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected