Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Persper/code-analytics
/ _cur_cindex
Method
_cur_cindex
persper/analytics/call_commit_graph.py:78–79 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
76
77
# The index of the commit being analyzed
78
def
_cur_cindex(self):
79
return
len(self.commits()) - 1
80
81
def
_next_cindex(self):
82
return
self._cur_cindex() + 1
Callers
1
_next_cindex
Method · 0.95
Calls
1
commits
Method · 0.95
Tested by
no test coverage detected