| 2101 | "Expand a string into a full Oid according to the objects in this repository.\n"); |
| 2102 | |
| 2103 | PyObject * |
| 2104 | Repository_expand_id(Repository *self, PyObject *py_hex) |
| 2105 | { |
| 2106 | git_oid oid; |
| 2107 | int err; |
| 2108 | |
| 2109 | err = py_oid_to_git_oid_expand(self->repo, py_hex, &oid); |
| 2110 | if (err < 0) |
| 2111 | return NULL; |
| 2112 | |
| 2113 | return git_oid_to_python(&oid); |
| 2114 | } |
| 2115 | |
| 2116 | PyDoc_STRVAR(Repository_add_worktree__doc__, |
| 2117 | "add_worktree(name: str, path: str | bytes[, ref: Reference]) -> Worktree\n" |
nothing calls this directly
no test coverage detected
searching dependent graphs…