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

Method onAfterCommit

persper/analytics/analyzer2.py:240–251  ·  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, commit: Commit, seeking_mode: CommitSeekingMode)

Source from the content-addressed store, hash-verified

238 pass
239
240 def onAfterCommit(self, analyzer: Analyzer, commit: Commit, seeking_mode: CommitSeekingMode):
241 """
242 Called after the observed Analyzer has finished analyzing a commit.
243 Params:
244 analyzer: the observed Analyzer instance.
245 index: the index of the commit, depending on the behavior of the analyzer.
246 This is usually a series of 1-based ordinal index for master commits,
247 and another series of 1-based ordinal index for branch commits.
248 commit: the commit that has just been analyzed.
249 isMaster: whether the current commit is one of the master commits.
250 """
251 pass
252
253
254class _EmptyAnalyzerObserverType(AnalyzerObserver):

Callers 1

_analyzeCommitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected