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