(self, node_link_data=None, commit_id_generator=CommitIdGenerators.fromHexsha)
| 31 | class CallCommitGraph: |
| 32 | |
| 33 | def __init__(self, node_link_data=None, commit_id_generator=CommitIdGenerators.fromHexsha): |
| 34 | if node_link_data: |
| 35 | self._digraph = json_graph.node_link_graph(node_link_data) |
| 36 | else: |
| 37 | self._digraph = self._new_graph() |
| 38 | self._commit_id_generator = commit_id_generator |
| 39 | self._current_commit_id = None |
| 40 | |
| 41 | def reset(self): |
| 42 | self._digraph = self._new_graph() |
nothing calls this directly
no test coverage detected