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

Function repo_git_path_replace

path.c:455–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455const char *repo_git_path_replace(struct repository *repo,
456 struct strbuf *sb,
457 const char *fmt, ...)
458{
459 va_list args;
460 strbuf_reset(sb);
461 va_start(args, fmt);
462 repo_git_pathv(repo, NULL, sb, fmt, args);
463 va_end(args);
464 return sb->buf;
465}
466
467char *mkpathdup(const char *fmt, ...)
468{

Callers 15

is_reinitFunction · 0.85
create_default_filesFunction · 0.85
read_rebase_todolistFunction · 0.85
rerere_pathFunction · 0.85
rerere_gcFunction · 0.85
notes_merge_commitFunction · 0.85
notes_merge_abortFunction · 0.85
find_hookFunction · 0.85
odb_mkstempFunction · 0.85
add_worktreeFunction · 0.85

Calls 1

repo_git_pathvFunction · 0.85

Tested by

no test coverage detected