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

Function repo_worktree_path_append

path.c:526–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526const char *repo_worktree_path_append(const struct repository *repo,
527 struct strbuf *sb,
528 const char *fmt, ...)
529{
530 va_list args;
531
532 if (!repo->worktree)
533 return NULL;
534
535 va_start(args, fmt);
536 do_worktree_path(repo, sb, fmt, args);
537 va_end(args);
538
539 return sb->buf;
540}
541
542const char *repo_worktree_path_replace(const struct repository *repo,
543 struct strbuf *sb,

Callers 1

repo_submodule_initFunction · 0.85

Calls 1

do_worktree_pathFunction · 0.85

Tested by

no test coverage detected