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

Function renameFile

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

Source from the content-addressed store, hash-verified

192}
193
194bool renameFile(const string& sourcePath, const string& destPath) {
195 return rename(sourcePath.c_str(), destPath.c_str()) == 0;
196}
197
198bool isDirectoryWritable(const string& path) {
199 if (!directoryExists(path) && !createDirectory(path)) { return false; }

Callers 2

compileModuleFunction · 0.85
compileModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected