pub fn payloads_in_use(game_dir: &Path) -> Option<Vec<String>>Expand description
The payload digests this folder’s ledger and every restore point name: what a sweep of the cache must keep beyond what its index names, since a restore rolls back to an older payload the index has moved past.
None when any of them cannot be read — a ledger or point written by a
newer build, a damaged file — since what it needs is then unknown, and a
wrong guess would delete someone’s way back.