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

Function matches_skip_worktree

pathspec.h:176–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 enum ps_skip_worktree_action sw_action);
175char *find_pathspecs_matching_skip_worktree(const struct pathspec *pathspec);
176static inline int matches_skip_worktree(const struct pathspec *pathspec,
177 int item, char **seen_ptr)
178{
179 if (!*seen_ptr)
180 *seen_ptr = find_pathspecs_matching_skip_worktree(pathspec);
181 return (*seen_ptr)[item];
182}
183int match_pathspec_attrs(struct index_state *istate,
184 const char *name, int namelen,
185 const struct pathspec_item *item);

Callers 4

refreshFunction · 0.85
cmd_addFunction · 0.85
cmd_rmFunction · 0.85

Tested by

no test coverage detected