Merge pull request #606 from bmwiedemann/mtime

Stop storing mtime in hog files
This commit is contained in:
Azamat H. Hackimov 2024-09-25 23:05:19 +03:00 committed by GitHub
commit 3a7c86a2d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ HogFileEntry::HogFileEntry(const std::filesystem::path &input) {
m_real_path = input;
m_flags = 0;
m_len = (uint32_t)file_size(input);
m_timestamp = (uint32_t)to_time_t(last_write_time(input));
m_timestamp = 0;
auto name = input.filename().u8string();
std::copy(name.begin(), name.end(), m_name.begin());
}