MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / Delete

Method Delete

MonaBase/include/Mona/FileSystem.h:131–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 static bool Rename(const char* fromPath, const std::string& toPath) { return rename(fromPath, toPath.c_str()) == 0; }
130 static bool Rename(const char* fromPath, const char* toPath) { return rename(fromPath, toPath) == 0; }
131 static bool Delete(Exception& ex, const std::string& path, Mode mode = LOW) { return Delete(ex, path.data(), path.size(), mode); }
132 static bool Delete(Exception& ex, const char* path, Mode mode = LOW) { return Delete(ex, path, strlen(path), mode); }
133
134 static bool ResolveFileWithPaths(const char* paths, std::string& file);

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected