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

Method GetFile

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

extPos = position of ".ext"

Source from the content-addressed store, hash-verified

84
85 /// extPos = position of ".ext"
86 static Type GetFile(const char* path, std::string& name) { std::size_t extPos; return GetFile(path,name,extPos); }
87 static Type GetFile(const char* path, std::string& name, std::size_t& extPos) { return GetFile(path,name,extPos,(std::string&)String::Empty); }
88 static Type GetFile(const char* path, std::string& name, std::string& parent) { std::size_t extPos; return GetFile(path,name,extPos,parent); }
89 static Type GetFile(const char* path, std::string& name, std::size_t& extPos, std::string& parent) { return GetFile(path, strlen(path), name, extPos, parent); }

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected