Skip to main content

Module evict

Module evict 

Source
Expand description

epicenter evict — deliberate, user-invoked removal of units. Eviction is never automatic: the caller must select units explicitly.

Safety shape (mirrors prune):

  • dry run by default — pass --yes to actually delete;
  • current toolchain generation is protected unless --force: removing it would force a rebuild of units cargo may be using right now;
  • at least one selector is required — there is no “evict everything”.

Structs§

Options
What the user asked to evict.
WorkReport
What one --work-dirs pass found and did.

Enums§

Tier
What an eviction touches. The vault (“store”) is the user’s storage — trimming it never breaks a build, only the next one compiles more.

Constants§

DEFAULT_WORK_MAX_AGE
Default max age of a per-job working dir before --work-dirs collects it.

Functions§

run
epicenter evict [unit] [--stale|--rustc-key|--husks|--older-than|--work-dirs|--work <view>] [--tier <t>] [--force] [--yes]