(
self,
rev: str,
title: str,
body: str = "",
author: str = "",
author_email: str = "",
parents: list[str] | None = None,
)
| 59 | |
| 60 | class GitCommit(GitObject): |
| 61 | def __init__( |
| 62 | self, |
| 63 | rev: str, |
| 64 | title: str, |
| 65 | body: str = "", |
| 66 | author: str = "", |
| 67 | author_email: str = "", |
| 68 | parents: list[str] | None = None, |
| 69 | ) -> None: |
| 70 | self.rev = rev.strip() |
| 71 | self.title = title.strip() |
| 72 | self.body = body.strip() |
| 73 | self.author = author.strip() |
| 74 | self.author_email = author_email.strip() |
| 75 | self.parents = parents or [] |
| 76 | |
| 77 | @property |
| 78 | def message(self) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected