Skip to main content

Module engine

Module engine 

Source

Structs§

AdapterFilter
Which package managers a pass is allowed to act on.
PruneOptions
Everything that shapes a prune pass beyond the repository itself.
PruneResult
Result of pruning a single bloat directory in a single repo.
RepoStatusEntry
Full status entry for a single registered repository.
RestoreOutcome
Restore exactly the projects a previous pass emptied, and nothing else.

Enums§

PruneStatus
The outcome of pruning a single bloat directory.
SkipReason
Reason why a repo was not selected as a prune candidate.

Constants§

BYTES_PER_MIB
Bytes in one mebibyte. The size floor is configured in MiB because that is the unit format_bytes prints, so a user who sets 10 sees the same number they typed.

Functions§

compute_display_name
Compute crisp, disambiguated project names for a repository path.
get_full_status
get_full_status_reporting
get_full_status, reporting each repository as it finishes.
prune_all
Run a prune pass across all registered repositories with default options.
prune_all_with
Run a prune pass across all registered repositories.
prune_repo
Prune a single repository. Returns results for each bloat directory found.
prune_repo_selected
Prune a repository, optionally restricted to a specific set of bloat directories.
prune_repo_with
Prune a repository under a full set of PruneOptions.
restore_deleted
restore_project_to_depth
Restore dependencies across every project in a tree.
take_top
The n repositories with the most reclaimable space, or all of them when top is None.