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

Function ce_path_match

read-cache.h:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36static inline int ce_path_match(struct index_state *istate,
37 const struct cache_entry *ce,
38 const struct pathspec *pathspec,
39 char *seen)
40{
41 return match_pathspec(istate, pathspec, ce->name, ce_namelen(ce), 0, seen,
42 S_ISDIR(ce->ce_mode) || S_ISGITLINK(ce->ce_mode));
43}
44
45#endif /* READ_CACHE_H */

Callers 15

preload_threadFunction · 0.85
prepare_show_mergeFunction · 0.85
run_diff_filesFunction · 0.85
oneway_diffFunction · 0.85
refresh_indexFunction · 0.85
do_push_stashFunction · 0.85
chmod_pathspecFunction · 0.85

Calls 1

match_pathspecFunction · 0.85