gc_cache#

scikitplot.cython.gc_cache(*, cache_dir=None, keep_n_newest=None, max_age_days=None, max_bytes=None, dry_run=False, lock_timeout_s=60.0)[source]#

Garbage-collect cached builds deterministically.

Parameters:
  • cache_dir (str | Path | None)

  • keep_n_newest (int | None)

  • max_age_days (int | None)

  • max_bytes (int | None)

  • dry_run (bool)

  • lock_timeout_s (float)

Return type:

CacheGCResult