Expand description
Queue pruning submodule.
This module contains the pruning entry points and internal helpers used to remove old tasks from the done archive (.ralph/done.jsonc) according to configurable filters (age, status, keep-last) while preserving the original order of remaining tasks.
The parent queue module re-exports the public API so callers can continue
using crate::queue::prune_done_tasks, crate::queue::PruneOptions, and
crate::queue::PruneReport.
Structs§
- Prune
Options - Options for pruning tasks from the done archive.
- Prune
Report - Result of a prune operation on the done archive.
Functions§
- prune_
done_ tasks - Prune tasks from the done archive based on age, status, and keep-last rules.