(file *C.git_diff_file)
| 68 | } |
| 69 | |
| 70 | func diffFileFromC(file *C.git_diff_file) DiffFile { |
| 71 | return DiffFile{ |
| 72 | Path: C.GoString(file.path), |
| 73 | Oid: newOidFromC(&file.id), |
| 74 | Size: int(file.size), |
| 75 | Flags: DiffFlag(file.flags), |
| 76 | Mode: uint16(file.mode), |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | type DiffDelta struct { |
| 81 | Status Delta |
no test coverage detected
searching dependent graphs…