pub struct GcData {
pub root: String,
pub dry_run: bool,
pub older_than: String,
pub older_than_source: String,
pub deleted: u64,
pub skipped: u64,
pub out_of_scope: u64,
pub failed: u64,
pub freed_bytes: u64,
pub scanned_dirs: u64,
pub candidate_count: u64,
pub jobs: Vec<GcJobResult>,
}Expand description
Response for the gc command.
Fields§
§root: StringResolved root directory path.
dry_run: boolWhether this was a dry-run (no deletions performed).
older_than: StringThe effective retention window (e.g. “30d”).
older_than_source: StringHow the retention window was determined: “default” or “flag”.
deleted: u64Number of job directories actually deleted (0 when dry_run=true).
skipped: u64Number of job directories skipped (running, unreadable, or too recent).
Equals out_of_scope + failed for the per-job results aggregated here.
out_of_scope: u64Number of jobs that were not candidates for deletion (e.g. running, non-terminal status, missing timestamp, retention window not satisfied).
failed: u64Number of jobs that were eligible candidates but could not be removed (delete syscall failed or post-delete existence check still saw the path).
freed_bytes: u64Total bytes freed (or would be freed in dry-run mode).
scanned_dirs: u64Number of job directories scanned.
candidate_count: u64Number of deletion candidates selected by policy.
jobs: Vec<GcJobResult>Per-job details.