Diff represents a single file change in a git diff.
| 2 | |
| 3 | // Diff represents a single file change in a git diff. |
| 4 | type Diff struct { |
| 5 | OldPath string `json:"old_path"` |
| 6 | NewPath string `json:"new_path"` |
| 7 | Diff string `json:"diff"` |
| 8 | NewFileContent string `json:"new_file_content"` |
| 9 | IsBinary bool `json:"is_binary"` |
| 10 | IsDeleted bool `json:"is_deleted"` |
| 11 | IsNew bool `json:"is_new"` |
| 12 | IsRenamed bool `json:"is_renamed"` |
| 13 | Insertions int64 `json:"insertions"` |
| 14 | Deletions int64 `json:"deletions"` |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected