(refname, a, b, data)
| 656 | |
| 657 | @libgit2_callback |
| 658 | def _update_tips_cb(refname, a, b, data): |
| 659 | update_tips = getattr(data, 'update_tips', None) |
| 660 | if not update_tips: |
| 661 | return 0 |
| 662 | |
| 663 | s = maybe_string(refname) |
| 664 | a = Oid(raw=bytes(ffi.buffer(a)[:])) |
| 665 | b = Oid(raw=bytes(ffi.buffer(b)[:])) |
| 666 | update_tips(s, a, b) |
| 667 | return 0 |
| 668 | |
| 669 | |
| 670 | # |
nothing calls this directly
no test coverage detected
searching dependent graphs…