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

Class stat

src/backend/common/util.cpp:172–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 return _stat(path.c_str(), &status) == 0 && (status.st_mode & S_IFDIR) != 0;
171#else
172 struct stat status {};
173 // NOLINTNEXTLINE(hicpp-signed-bitwise)
174 return stat(path.c_str(), &status) == 0 && (status.st_mode & S_IFDIR) != 0;
175#endif

Callers 1

directoryExistsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected