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

Function add_trailing_starstar_for_dir

config.c:193–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static void add_trailing_starstar_for_dir(struct strbuf *pat)
194{
195 if (pat->len && is_dir_sep(pat->buf[pat->len - 1]))
196 strbuf_addstr(pat, "**");
197}
198
199static int prepare_include_condition_pattern(const struct key_value_info *kvi,
200 struct strbuf *pat,

Callers 2

include_by_branchFunction · 0.85

Calls 1

strbuf_addstrFunction · 0.85

Tested by

no test coverage detected