The following should be crimes: std::filesystem does not provide a way to get a ...
Stéphane Charette 🇨🇦 @charette@mstdn.ca
The following should be crimes:
std::filesystemdoes not provide a way to get a file's creation time or modification time, only the write time. We moved past DOS 30 years ago, that should have been added.std::filesystem::file_time_typecannot be reliably converted to any other format or clock, unless you upgrade to C++20 or newer. How was this missed when std::filesystem was introduced in C++17?
So for now, going to continue using stat() to get the file information I need. #cpp