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

Function find_ref_storage_backend

refs.c:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43static const struct ref_storage_be *find_ref_storage_backend(
44 enum ref_storage_format ref_storage_format)
45{
46 if (ref_storage_format < ARRAY_SIZE(refs_backends))
47 return refs_backends[ref_storage_format];
48 return NULL;
49}
50
51enum ref_storage_format ref_storage_format_by_name(const char *name)
52{

Callers 2

ref_store_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected