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

Function repo_submodule_path_append

path.c:603–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603const char *repo_submodule_path_append(struct repository *repo,
604 struct strbuf *buf,
605 const char *path,
606 const char *fmt, ...)
607{
608 int err;
609 va_list args;
610 va_start(args, fmt);
611 err = do_submodule_path(repo, buf, path, fmt, args);
612 va_end(args);
613 if (err)
614 return NULL;
615 return buf->buf;
616}
617
618const char *repo_submodule_path_replace(struct repository *repo,
619 struct strbuf *buf,

Callers 1

get_storeFunction · 0.85

Calls 1

do_submodule_pathFunction · 0.85

Tested by 1

get_storeFunction · 0.68