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

Function repo_common_path_replace

path.c:668–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668const char *repo_common_path_replace(const struct repository *repo,
669 struct strbuf *sb,
670 const char *fmt, ...)
671{
672 va_list args;
673 strbuf_reset(sb);
674 va_start(args, fmt);
675 repo_common_pathv(repo, sb, fmt, args);
676 va_end(args);
677 return sb->buf;
678}
679
680static struct passwd *getpw_str(const char *username, size_t len)
681{

Callers 4

validate_worktreeFunction · 0.85
infer_backlinkFunction · 0.85

Calls 1

repo_common_pathvFunction · 0.85

Tested by

no test coverage detected