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

Function repo_git_path

path.c:433–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433char *repo_git_path(struct repository *repo,
434 const char *fmt, ...)
435{
436 struct strbuf path = STRBUF_INIT;
437 va_list args;
438 va_start(args, fmt);
439 repo_git_pathv(repo, NULL, &path, fmt, args);
440 va_end(args);
441 return strbuf_detach(&path, NULL);
442}
443
444const char *repo_git_path_append(struct repository *repo,
445 struct strbuf *sb,

Calls 2

repo_git_pathvFunction · 0.85
strbuf_detachFunction · 0.85

Tested by

no test coverage detected