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

Function oidcpy

hash.h:402–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 const struct object_id *b);
401
402static inline void oidcpy(struct object_id *dst, const struct object_id *src)
403{
404 memcpy(dst->hash, src->hash, GIT_MAX_RAWSZ);
405 dst->algo = src->algo;
406}
407
408static inline void oidread(struct object_id *oid, const unsigned char *hash,
409 const struct git_hash_algo *algop)

Callers 15

store_bitmapFunction · 0.85
receive_wanted_refsFunction · 0.85
setup_path_infoFunction · 0.85
merge_submoduleFunction · 0.85
initialize_attr_indexFunction · 0.85
handle_content_mergeFunction · 0.85
process_renamesFunction · 0.85
process_entryFunction · 0.85
process_entriesFunction · 0.85

Calls

no outgoing calls

Tested by 3

cmd__cache_treeFunction · 0.68
cmd__reachFunction · 0.68