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

Function cleanup_path

path.c:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static const char *cleanup_path(const char *path)
43{
44 /* Clean it up */
45 if (skip_prefix(path, "./", &path)) {
46 while (*path == '/')
47 path++;
48 }
49 return path;
50}
51
52static void strbuf_cleanup_path(struct strbuf *sb)
53{

Callers 2

strbuf_cleanup_pathFunction · 0.85
mkpathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected