Skip to main content

prune_to

Function prune_to 

Source
pub fn prune_to(keep: usize) -> usize
Expand description

Remove the oldest runs past keep; the count removed.

A run whose record carries no terminal status may still be mutating a forge, and unlinking a live run’s scripts and record would leave it running unobserved — so an unfinished run is spared until it is old enough that it can only be the debris of a crash.