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

Class _stat

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

Source from the content-addressed store, hash-verified

167bool directoryExists(const string& path) {
168#if defined(OS_WIN)
169 struct _stat status;
170 return _stat(path.c_str(), &status) == 0 && (status.st_mode & S_IFDIR) != 0;
171#else
172 struct stat status {};

Callers 1

directoryExistsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected