MCPcopy Create free account
hub / github.com/DFHack/dfhack / exists

Method exists

library/modules/Filesystem.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155bool Filesystem::exists (std::filesystem::path path) noexcept
156{
157 std::error_code ec;
158 auto r = std::filesystem::exists(path, ec);
159 if (ec)
160 return false;
161 return r;
162}
163
164bool Filesystem::isfile(std::filesystem::path path) noexcept
165{

Callers 5

.ycm_extra_conf.pyFile · 0.45
run-tests.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected