eelbrain.pipeline.Pipeline.clean_cache
- Pipeline.clean_cache(dry_run=False, delete=False, revalidate=True)[source]
Report and delete invalid or stale cache files (garbage collection).
- Parameters:
dry_run (bool) – Only scan and report; delete nothing.
delete (bool) – Delete stale files without asking for confirmation.
revalidate (bool) – Detect stale artifacts by re-validating each cached request against the current pipeline configuration. Set to
Falsefor a faster scan restricted to structurally invalid files.
- Returns:
Per-category summary of the scan (file counts and sizes).
- Return type:
report_table