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

Method isdir

library/modules/Filesystem.cpp:174–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174bool Filesystem::isdir (std::filesystem::path path) noexcept
175{
176 std::error_code ec;
177 // is_directory() also checks for existence.
178 auto r = std::filesystem::is_directory(path, ec);
179 if (ec)
180 return false;
181 return r;
182}
183
184std::time_t Filesystem::mtime (std::filesystem::path path) noexcept
185{

Callers 2

run-tests.pyFile · 0.80
util.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected