Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
int 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_directory
Function · 0.70
strbuf_add_absolute_path
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected