Called before the observed Analyzer is about to analyze a commit. Params: analyzer: the observed Analyzer instance. index: the index of the commit, depending on the behavior of the analyzer. This is usually a series of 1-based ordinal inde
(self, analyzer: Analyzer, commit: Commit, seeking_mode: CommitSeekingMode)
| 225 | pass |
| 226 | |
| 227 | def onBeforeCommit(self, analyzer: Analyzer, commit: Commit, seeking_mode: CommitSeekingMode): |
| 228 | """ |
| 229 | Called before the observed Analyzer is about to analyze a commit. |
| 230 | Params: |
| 231 | analyzer: the observed Analyzer instance. |
| 232 | index: the index of the commit, depending on the behavior of the analyzer. |
| 233 | This is usually a series of 1-based ordinal index for master commits, |
| 234 | and another series of 1-based ordinal index for branch commits. |
| 235 | commit: the commit to be analyzed. |
| 236 | isMaster: whether the current commit is one of the master commits. |
| 237 | """ |
| 238 | pass |
| 239 | |
| 240 | def onAfterCommit(self, analyzer: Analyzer, commit: Commit, seeking_mode: CommitSeekingMode): |
| 241 | """ |