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

Function is_null_oid

hash.h:455–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455static inline int is_null_oid(const struct object_id *oid)
456{
457 static const unsigned char null_hash[GIT_MAX_RAWSZ];
458 return !memcmp(oid->hash, null_hash, GIT_MAX_RAWSZ);
459}
460
461const char *empty_tree_oid_hex(const struct git_hash_algo *algop);
462

Callers 15

merge_submoduleFunction · 0.85
populate_valueFunction · 0.85
update_oneFunction · 0.85
set_upstreamsFunction · 0.85
print_ok_ref_statusFunction · 0.85
transport_pushFunction · 0.85
transport_fetch_refsFunction · 0.85
show_submodule_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected