Skip to main content

unused_days

Function unused_days 

Source
fn unused_days(sharing: &Sharing<'_>, memory: &Memory, now_ms: i64) -> i64
Expand description

How long this device keeps the sealed files no record points to any more (days): two weeks (blobs::UNUSED_DAYS) once every other device that counts (present) says in its sealed entry that it keeps them so too (devices::Entry::keeping), else 90 days (blobs::UNUSED_DAYS_BEFORE), as until 15 October 2026. An older Sioul makes a content it uses again fresh only past 30 days (blobs::put): on a phone under eDrive, which keeps every sealed file it brought, it could put back an earlier version whose content left the server, and name it in a record no device could follow. A device whose entry does not read, or known by its records alone, counts as an older one; a hostile folder can only keep contents longer.