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

Method IsFileExist

ImGuiFileDialog.cpp:486–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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));
489 }
490 bool CreateDirectoryIfNotExist(const std::string& vName) override {
491 if (vName.empty()) return false;
492 if (IsDirectoryExist(vName)) return true;

Calls 1

stringToPathFunction · 0.85

Tested by

no test coverage detected