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

Function should_use_loose_object_map

loose.c:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15static const char *loose_object_header = "# loose-object-idx\n";
16
17static inline int should_use_loose_object_map(struct repository *repo)
18{
19 return repo->compat_hash_algo && repo->gitdir;
20}
21
22void loose_object_map_init(struct loose_object_map **map)
23{

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected