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

Function valid_fetch_refspec

refspec.c:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249int valid_fetch_refspec(const char *fetch_refspec_str)
250{
251 struct refspec_item refspec;
252 int ret = refspec_item_init_fetch(&refspec, fetch_refspec_str);
253 refspec_item_clear(&refspec);
254 return ret;
255}
256
257void refspec_ref_prefixes(const struct refspec *rs,
258 struct strvec *ref_prefixes)

Callers 1

valid_remote_nameFunction · 0.85

Calls 2

refspec_item_init_fetchFunction · 0.85
refspec_item_clearFunction · 0.85

Tested by

no test coverage detected