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

Function append_grep_pat

grep.c:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void append_grep_pat(struct grep_opt *opt, const char *pat, size_t patlen,
192 const char *origin, int no, enum grep_pat_token t)
193{
194 struct grep_pat *p = create_grep_pat(pat, patlen, origin, no, t, 0);
195 do_append_grep_pat(&opt->pattern_tail, p);
196}
197
198struct grep_opt *grep_opt_dup(const struct grep_opt *opt)
199{

Callers 3

append_grep_patternFunction · 0.85
grep_opt_dupFunction · 0.85
file_callbackFunction · 0.85

Calls 2

create_grep_patFunction · 0.85
do_append_grep_patFunction · 0.85

Tested by

no test coverage detected