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

Function createDirectory

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

Source from the content-addressed store, hash-verified

176}
177
178bool createDirectory(const string& path) {
179#if defined(OS_WIN)
180 return CreateDirectoryA(path.c_str(), NULL) != 0;
181#else
182 return mkdir(path.c_str(), 0777) == 0;
183#endif
184}
185
186bool removeFile(const string& path) {
187#if defined(OS_WIN)

Callers 1

isDirectoryWritableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected