MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / IsDirectoryExist

Method IsDirectoryExist

ImGuiFileDialog.cpp:479–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477 return bExists; // this is not a directory!
478 }
479 bool IsDirectoryExist(const std::string& vName) override {
480 if (!vName.empty()) {
481 namespace fs = std::filesystem;
482 return fs::is_directory(stringToPath(vName));
483 }
484 return false; // this is not a directory!
485 }
486 bool IsFileExist(const std::string& vName) override {
487 namespace fs = std::filesystem;
488 return fs::is_regular_file(stringToPath(vName));

Callers

nothing calls this directly

Calls 2

stringToPathFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected