MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / file_exists

Function file_exists

tools/openpgl_debug/openpgl_debug.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25};
26
27inline bool file_exists(const std::string &file_name)
28{
29 std::ifstream file(file_name.c_str());
30 return file.good();
31}
32
33struct DebugParams
34{

Callers 1

validateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected