Returns details of a commit. Parameters ---------- id: Identifier of the commit (e.g., "b6315d8f2810962c601af73f86831f6866ea798b").
(self, id: str)
| 9644 | return await _ctx.execute(list[str]) |
| 9645 | |
| 9646 | def commit(self, id: str) -> GitRef: |
| 9647 | """Returns details of a commit. |
| 9648 | |
| 9649 | Parameters |
| 9650 | ---------- |
| 9651 | id: |
| 9652 | Identifier of the commit (e.g., |
| 9653 | "b6315d8f2810962c601af73f86831f6866ea798b"). |
| 9654 | """ |
| 9655 | _args = [ |
| 9656 | Arg("id", id), |
| 9657 | ] |
| 9658 | _ctx = self._select("commit", _args) |
| 9659 | return GitRef(_ctx) |
| 9660 | |
| 9661 | def head(self) -> GitRef: |
| 9662 | """Returns details for HEAD.""" |