MCPcopy Index your code
hub / github.com/Persper/code-analytics / add_node

Method add_node

persper/analytics/call_commit_graph.py:85–86  ·  view source on GitHub ↗
(self, node, files=[])

Source from the content-addressed store, hash-verified

83
84 # TODO: remove the default value of files
85 def add_node(self, node, files=[]):
86 self._digraph.add_node(node, size=None, history={}, files=files)
87
88 # add_node must be called on source and target first
89 def add_edge(self, source, target):

Callers 9

test_call_commit_graphFunction · 0.95
test_devrankFunction · 0.80
start_process_commitMethod · 0.80
handle_func_nodeFunction · 0.80
build_call_graph_cFunction · 0.80
handle_func_nodeFunction · 0.80
update_graphFunction · 0.80
updateGraphMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_call_commit_graphFunction · 0.76
test_devrankFunction · 0.64