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

Function hash_oid_string

submodule-config.c:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static unsigned int hash_oid_string(const struct object_id *oid,
134 const char *string)
135{
136 return memhash(oid->hash, the_hash_algo->rawsz) + strhash(string);
137}
138
139static void cache_put_path(struct submodule_cache *cache,
140 struct submodule *submodule)

Callers 5

cache_put_pathFunction · 0.85
cache_remove_pathFunction · 0.85
cache_addFunction · 0.85
cache_lookup_pathFunction · 0.85
cache_lookup_nameFunction · 0.85

Calls 2

memhashFunction · 0.85
strhashFunction · 0.85

Tested by

no test coverage detected