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

Method Exists

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

In giving a path with /, it tests one folder existance, otherwise file existance

Source from the content-addressed store, hash-verified

69
70 /// In giving a path with /, it tests one folder existance, otherwise file existance
71 static bool Exists(const std::string& path) { return Exists(path.data(), path.size()); }
72 static bool Exists(const char* path) { return Exists(path, strlen(path)); }
73 static bool IsAbsolute(const std::string& path) { return IsAbsolute(path.c_str()); }
74 static bool IsAbsolute(const char* path);

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected