----------------------------------------------------------------------------
| 24 | { |
| 25 | //---------------------------------------------------------------------------- |
| 26 | boost::optional<std::filesystem::file_time_type> |
| 27 | FileSystem::GetLastWriteTime(const std::filesystem::path& path) const |
| 28 | { |
| 29 | std::error_code error; |
| 30 | auto time = std::filesystem::last_write_time(path, error); |
| 31 | |
| 32 | return error ? boost::optional<std::filesystem::file_time_type>{} : time; |
| 33 | } |
| 34 | } |
no outgoing calls
no test coverage detected