Expand description
Garbage Collection
LRU-based cleanup for local cache and optionally Nix store closures.
Structs§
- GCConfig
- Garbage collector configuration
- GCStats
- Statistics from garbage collection run
- Garbage
Collector - Garbage collector for CI cache
Enums§
- GCError
- Errors for garbage collection
Constants§
- DEFAULT_
MAX_ AGE_ DAYS - Default max age for cache entries (30 days)
- DEFAULT_
MAX_ SIZE_ BYTES - Default max cache size (10 GB)
Functions§
- preview_
gc - Run GC in dry-run mode to see what would be deleted
- run_gc
- Convenience function to run GC with default settings