MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / __init__

Method __init__

commitizen/git.py:61–75  ·  view source on GitHub ↗
(
        self,
        rev: str,
        title: str,
        body: str = "",
        author: str = "",
        author_email: str = "",
        parents: list[str] | None = None,
    )

Source from the content-addressed store, hash-verified

59
60class 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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected