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

Struct DiffFile

diff.go:62–68  ·  view source on GitHub ↗

go:generate stringer -type DiffLineType -trimprefix DiffLine -tags static

Source from the content-addressed store, hash-verified

60//go:generate stringer -type DiffLineType -trimprefix DiffLine -tags static
61
62type DiffFile struct {
63 Path string
64 Oid *Oid
65 Size int
66 Flags DiffFlag
67 Mode uint16
68}
69
70func diffFileFromC(file *C.git_diff_file) DiffFile {
71 return DiffFile{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected