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

Function ce_same_name

read-cache.c:930–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930int ce_same_name(const struct cache_entry *a, const struct cache_entry *b)
931{
932 int len = ce_namelen(a);
933 return ce_namelen(b) == len && !memcmp(a->name, b->name, len);
934}
935
936/*
937 * We fundamentally don't like some paths: we don't want

Callers 3

prepare_show_mergeFunction · 0.85
check_one_conflictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected