(self)
| 1579 | # |
| 1580 | @property |
| 1581 | def ident(self) -> tuple[Optional[str], Optional[str]]: |
| 1582 | cname = ffi.new('char **') |
| 1583 | cemail = ffi.new('char **') |
| 1584 | |
| 1585 | err = C.git_repository_ident(cname, cemail, self._repo) |
| 1586 | check_error(err) |
| 1587 | |
| 1588 | return (maybe_string(cname[0]), maybe_string(cemail[0])) |
| 1589 | |
| 1590 | def set_ident(self, name: Optional[str], email: Optional[str]) -> None: |
| 1591 | """Set the identity to be used for reference operations. |
nothing calls this directly
no test coverage detected