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

Class stat

src/realpath.c:161–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159isdir (char const *path)
160{
161 struct stat sb;
162 if (stat (path, &sb) != 0)
163 error (EXIT_FAILURE, errno, _("cannot stat %s"), quoteaf (path));
164 return S_ISDIR (sb.st_mode);

Callers 1

isdirFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected