Skip to main content

Module model

Module model 

Source
Expand description

Framework-agnostic domain model (cleaner items, categories, run status). Framework-agnostic domain model shared by the TUI and GUI front-ends.

Nothing in this module depends on ratatui, crossterm, or iced — it is pure application state that both front-ends render in their own way.

Structs§

CleanerCategory
A named group of related CleanerItems (e.g. “User Land Cleaners”).
CleanerItem
A single selectable cleaning operation (e.g. “Browser Caches”).

Enums§

Status
The outcome of running (or attempting to run) a single cleaner.

Functions§

load_categories
Build the default set of categories (User + System) with all known cleaners loaded from user_cleaners and system_cleaners.