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

Function is_empty_blob_oid

hash.h:463–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461const char *empty_tree_oid_hex(const struct git_hash_algo *algop);
462
463static inline int is_empty_blob_oid(const struct object_id *oid,
464 const struct git_hash_algo *algop)
465{
466 return oideq(oid, algop->empty_blob);
467}
468
469static inline int is_empty_tree_oid(const struct object_id *oid,
470 const struct git_hash_algo *algop)

Callers 2

diffcore_rename_extendedFunction · 0.85
ce_match_stat_basicFunction · 0.85

Calls 1

oideqFunction · 0.85

Tested by

no test coverage detected