MCPcopy Index your code
hub / github.com/git/git / match_pathspec

Function match_pathspec

dir.c:601–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601int match_pathspec(struct index_state *istate,
602 const struct pathspec *ps,
603 const char *name, int namelen,
604 int prefix, char *seen, int is_dir)
605{
606 unsigned flags = is_dir ? DO_MATCH_DIRECTORY : 0;
607 return match_pathspec_with_flags(istate, ps, name, namelen,
608 prefix, seen, flags);
609}
610
611int match_leading_pathspec(struct index_state *istate,
612 const struct pathspec *ps,

Callers 15

is_tree_submodule_activeFunction · 0.85
reject_entryFunction · 0.85
treat_pathFunction · 0.85
read_directory_recursiveFunction · 0.85
setup_additional_headersFunction · 0.85
unmerge_indexFunction · 0.85
dir_path_matchFunction · 0.85
ce_path_matchFunction · 0.85
rerere_forgetFunction · 0.85
walk_pathFunction · 0.85
grep_cacheFunction · 0.85
show_ceFunction · 0.85

Calls 1

Tested by

no test coverage detected