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