Skip to main content

Module prune

Module prune 

Source
Expand description

Purpose: Facade for done-queue pruning surfaces.

Responsibilities:

  • Declare focused prune companion modules.
  • Re-export the stable prune API used by queue callers.
  • Keep prune regression coverage colocated with the prune module.

Scope:

  • Thin module root only; prune types and behavior live in sibling companions.

Usage:

  • Used through crate::queue::{PruneOptions, PruneReport, prune_done_tasks}.
  • Crate-internal helpers remain available through crate::queue::prune::* re-exports.

Invariants/Assumptions:

  • Re-exports preserve existing caller imports.
  • Core prune behavior remains unchanged while implementation is split across companions.

Structs§

PruneOptions
Options for pruning tasks from the done archive.
PruneReport
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.