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

Function fspathhash

dir.c:154–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154unsigned int fspathhash(const char *str)
155{
156 return ignore_case ? strihash(str) : strhash(str);
157}
158
159int git_fnmatch(const struct pathspec_item *item,
160 const char *pattern, const char *string,

Callers 4

add_pattern_to_hashsetsFunction · 0.85
hashmap_contains_pathFunction · 0.85
cmd_mvFunction · 0.85
insert_recursive_patternFunction · 0.85

Calls 2

strihashFunction · 0.85
strhashFunction · 0.85

Tested by

no test coverage detected