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

Function ps_strcmp

pathspec.h:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static inline int ps_strcmp(const struct pathspec_item *item,
156 const char *s1, const char *s2)
157{
158 if (item->magic & PATHSPEC_ICASE)
159 return strcasecmp(s1, s2);
160 else
161 return strcmp(s1, s2);
162}
163
164enum ps_skip_worktree_action {
165 PS_HEED_SKIP_WORKTREE = 0,

Callers 1

git_fnmatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected