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

Function add_path

exec-cmd.c:325–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325static void add_path(struct strbuf *out, const char *path)
326{
327 if (path && *path) {
328 strbuf_add_absolute_path(out, path);
329 strbuf_addch(out, PATH_SEP);
330 }
331}
332
333void setup_path(void)
334{

Callers 1

setup_pathFunction · 0.70

Calls 2

strbuf_add_absolute_pathFunction · 0.85
strbuf_addchFunction · 0.85

Tested by

no test coverage detected