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

Function oidset_init

oidset.c:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "strbuf.h"
5
6void oidset_init(struct oidset *set, size_t initial_size)
7{
8 memset(&set->set, 0, sizeof(set->set));
9 if (initial_size)
10 kh_resize_oid_set(&set->set, initial_size);
11}
12
13int oidset_contains(const struct oidset *set, const struct object_id *oid)
14{

Callers 9

oidset_clearFunction · 0.85
paths_and_oids_insertFunction · 0.85
repo_init_revisionsFunction · 0.85
mark_edges_uninterestingFunction · 0.85
midx_snapshot_refsFunction · 0.85
build_ignorelistFunction · 0.85
graph_writeFunction · 0.85
cmd_rev_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected