Q6MRVSJXQXHRKY5TWJL742RUQNJPRT32QSPJJORZ2IA6KJ4O2UBAC
KGN7KVLAUXIGHS7AYVK3IFAUTQLWOLLAHWZRJOY3LSUEHYMS7CNQC
LODKR74E5PIJLS5FRZ6GZLG222JSTNC7BSSWERLTAIF3QHNDDXYQC
F6V27C3M7GZHBHXMGAZMYO5XGWDYYNNIF2HLDE2VPNHTEVDSYGVQC
EUZFFJSOWV4PXDFFPDAFBHFUUMOFEU6ST7JH57YYRRR2SEOXLN6QC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
MFTN7GBWZNQAFHKER57MLZAJGVEAHV2GYAQN2QTDHTPCEURDVIGQC
34Q5U4HLC4ZEFTIEJY5EDNUJPTXLP7Y2TECHRI555QHUREBYBLPAC
QU6T6J6WEZ6IYZC57YAUCET2V6WHVKJ2Q4UGB2GOK45VIGDPBR2QC
I24UEJQLCH2SOXA4UHIYWTRDCHSOPU7AFTRUOTX7HZIAV4AZKYEQC
GHO6DWPILBBTL6CVZKERJBTFL3EY6ZT4YM4E5R4S6YPGVFKFHCVAC
Ok(last_modified
.duration_since(std::time::UNIX_EPOCH)?
.as_millis() as u64
>= txn.last_modified(channel))
// Account for low-resolution filesystems, by truncating the
// channel modification time if the file modification time is
// a multiple of 1000.
let last_mod = last_modified
.duration_since(std::time::UNIX_EPOCH)?
.as_millis() as u64;
let channel_mod = if last_mod % 1000 == 0 {
(txn.last_modified(channel) / 1000) * 1000
} else {
txn.last_modified(channel)
};
Ok(last_mod >= channel_mod)