MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / file_exists

Function file_exists

src/ifcconvert/IfcConvert.cpp:170–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool file_exists(const std::string& filename) {
171 std::ifstream file(IfcUtil::path::from_utf8(filename).c_str());
172 return file.good();
173}
174
175static std::basic_stringstream<path_t::value_type> log_stream;
176void write_log(bool);

Callers 1

IfcConvert.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected