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

Function mkpath

path.c:478–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478const char *mkpath(const char *fmt, ...)
479{
480 va_list args;
481 struct strbuf *pathname = get_pathname();
482 va_start(args, fmt);
483 strbuf_vaddf(pathname, fmt, args);
484 va_end(args);
485 return cleanup_path(pathname->buf);
486}
487
488const char *worktree_git_path(const struct worktree *wt, const char *fmt, ...)
489{

Callers 11

add_config_scope_argFunction · 0.85
refname_matchFunction · 0.85
compute_alternate_pathFunction · 0.85
get_html_page_pathFunction · 0.85
am_pathFunction · 0.85
split_mail_convFunction · 0.85
split_mail_stgit_seriesFunction · 0.85
cmd_amFunction · 0.85
cmd_cloneFunction · 0.85
get_tracking_branchFunction · 0.85
remove_temporary_filesFunction · 0.85

Calls 3

get_pathnameFunction · 0.85
strbuf_vaddfFunction · 0.85
cleanup_pathFunction · 0.85

Tested by

no test coverage detected