Function
_remote_create_cb
(remote_out, repo, name, url, data)
Source from the content-addressed store, hash-verified
| 599 | |
| 600 | @libgit2_callback |
| 601 | def _remote_create_cb(remote_out, repo, name, url, data): |
| 602 | from .repository import Repository |
| 603 | |
| 604 | remote = data.remote( |
| 605 | Repository._from_c(repo, False), ffi.string(name), ffi.string(url) |
| 606 | ) |
| 607 | remote_out[0] = remote._remote |
| 608 | # we no longer own the C object |
| 609 | remote._remote = ffi.NULL |
| 610 | |
| 611 | return 0 |
| 612 | |
| 613 | |
| 614 | @libgit2_callback |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…