MCPcopy Create free account
hub / github.com/git/git / write_graph_chunk_base_1

Function write_graph_chunk_base_1

commit-graph.c:2067–2078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2065}
2066
2067static int write_graph_chunk_base_1(struct hashfile *f,
2068 struct commit_graph *g)
2069{
2070 int num = 0;
2071
2072 if (!g)
2073 return 0;
2074
2075 num = write_graph_chunk_base_1(f, g->base_graph);
2076 hashwrite(f, g->oid.hash, g->hash_algo->rawsz);
2077 return num + 1;
2078}
2079
2080static int write_graph_chunk_base(struct hashfile *f,
2081 void *data)

Callers 1

write_graph_chunk_baseFunction · 0.85

Calls 1

hashwriteFunction · 0.85

Tested by

no test coverage detected