MCPcopy Create free account
hub / github.com/Persper/code-analytics / onAfterCommit

Method onAfterCommit

persper/analytics/analyzer.py:219–230  ·  view source on GitHub ↗

Called after the observed Analyzer has finished analyzing 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 in

(self, analyzer:Analyzer, index:int, commit:Commit, isMaster:bool)

Source from the content-addressed store, hash-verified

217 pass
218
219 def onAfterCommit(self, analyzer:Analyzer, index:int, commit:Commit, isMaster:bool):
220 """
221 Called after the observed Analyzer has finished analyzing a commit.
222 Params:
223 analyzer: the observed Analyzer instance.
224 index: the index of the commit, depending on the behavior of the analyzer.
225 This is usually a series of 1-based ordinal index for master commits,
226 and another series of 1-based ordinal index for branch commits.
227 commit: the commit that has just been analyzed.
228 isMaster: whether the current commit is one of the master commits.
229 """
230 pass
231
232class _EmptyAnalyzerObserverType(AnalyzerObserver):
233 pass

Callers 1

analyzeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected