MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getCurrentDirectory

Function getCurrentDirectory

src/Core/Utils/FileUtils.cpp:179–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 std::string getCurrentDirectory()
180 {
181#ifdef _USE_FILESYSTEM_FALLBACK
182 char buff[FILENAME_MAX];
183 GetCurrentDir(buff, FILENAME_MAX);
184 std::string current_working_dir(buff);
185 return current_working_dir;
186#else
187 return std::filesystem::current_path().string();
188#endif
189 }
190
191 std::string separator()
192 {

Callers 1

LoadMountFileMethod · 0.85

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected