MCPcopy Index your code
hub / github.com/git/git / commit_graph_position

Function commit_graph_position

commit-graph.c:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118uint32_t commit_graph_position(const struct commit *c)
119{
120 struct commit_graph_data *data =
121 commit_graph_data_slab_peek(&commit_graph_data_slab, c);
122
123 return data ? data->graph_pos : COMMIT_NOT_FROM_GRAPH;
124}
125
126timestamp_t commit_graph_generation(const struct commit *c)
127{

Callers 7

find_commit_pos_in_graphFunction · 0.85
load_tree_for_commitFunction · 0.85
close_reachableFunction · 0.85
copy_oids_to_commitsFunction · 0.85
repo_get_commit_treeFunction · 0.85
dfs_on_refFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected