| 78 | } |
| 79 | |
| 80 | type DiffDelta struct { |
| 81 | Status Delta |
| 82 | Flags DiffFlag |
| 83 | Similarity uint16 |
| 84 | OldFile DiffFile |
| 85 | NewFile DiffFile |
| 86 | } |
| 87 | |
| 88 | func diffDeltaFromC(delta *C.git_diff_delta) DiffDelta { |
| 89 | return DiffDelta{ |
nothing calls this directly
no outgoing calls
no test coverage detected