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, index:int, commit:Commit, isMaster:bool)
| 204 | pass |
| 205 | |
| 206 | def onBeforeCommit(self, analyzer:Analyzer, index:int, commit:Commit, isMaster:bool): |
| 207 | """ |
| 208 | Called before the observed Analyzer is about to analyze a commit. |
| 209 | Params: |
| 210 | analyzer: the observed Analyzer instance. |
| 211 | index: the index of the commit, depending on the behavior of the analyzer. |
| 212 | This is usually a series of 1-based ordinal index for master commits, |
| 213 | and another series of 1-based ordinal index for branch commits. |
| 214 | commit: the commit to be analyzed. |
| 215 | isMaster: whether the current commit is one of the master commits. |
| 216 | """ |
| 217 | pass |
| 218 | |
| 219 | def onAfterCommit(self, analyzer:Analyzer, index:int, commit:Commit, isMaster:bool): |
| 220 | """ |