MCPcopy Create free account
hub / github.com/git/git / stat

Class stat

abspath.c:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10int is_directory(const char *path)
11{
12 struct stat st;
13 return (!stat(path, &st) && S_ISDIR(st.st_mode));
14}
15

Callers 2

is_directoryFunction · 0.70
strbuf_add_absolute_pathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected