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

Method GetHome

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

Source from the content-addressed store, hash-verified

116 static Time& GetLastModified(Exception& ex, const char* path, Time& time) { return GetLastModified(ex, path,strlen(path), time); }
117
118 static const char* GetHome(const char* defaultPath=NULL) { return _Home ? _Home.c_str() : defaultPath; }
119 static bool GetHome(std::string& path) { return _Home ? (path.assign(_Home),true) : false; }
120 static const char* GetCurrentApp(const char* defaultPath=NULL) { return _CurrentApp ? _CurrentApp.c_str() : defaultPath; }
121 static bool GetCurrentApp(std::string& path) { return _CurrentApp ? (path.assign(_CurrentApp), true) : false; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected