$applied
$applied : bool
The written record of what a prune removed, and what that cost.
A prune is the only operation Strata performs that destroys a restore target, so it is the one operation that produces a document rather than a log line. The receipt exists to be read before the prune runs - in dry-run form the numbers are identical and nothing is deleted - because "this will free 4.2 GB" and "this will remove your only restore point older than a week" are the same sentence read two ways, and only one of them is the decision the operator is making.
A receipt that refused carries the reason. Nothing was removed in that case, including anything that was individually safe: a prune either completes as described or does nothing, since a partially applied prune leaves history in a state neither the receipt nor the operator describes.
__construct(bool $applied = false, list$frames = [], list $objects = [], int $bytes = 0, list $commits = [], list $kept = [], string|null $refused = null, float $seconds = 0.0) : mixed
Constructs a receipt.
| bool | $applied | FALSE for a dry run or a refusal; TRUE when the objects were actually removed. |
| list |
$frames | Frame addresses removed. |
| list |
$objects | Object keys removed, which is fewer than the frames when frames shared a pack. |
| int | $bytes | Stored bytes freed. |
| list |
$commits | Commit ids that stopped being restore targets. |
| list |
$kept | One line per candidate that was NOT removed, naming what held it alive. This is the half of the receipt that proves the three reachability classes were consulted. |
| string|null | $refused | Why nothing was removed, or NULL when the prune ran. |
| float | $seconds | How long it took. |