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

Class stat

builtin/credential-cache.c:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120static char *get_socket_path(void)
121{
122 struct stat sb;
123 char *old_dir, *socket;
124 old_dir = interpolate_path("~/.git-credential-cache", 0);
125 if (old_dir && !stat(old_dir, &sb) && S_ISDIR(sb.st_mode))

Callers 1

get_socket_pathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected