Skip to main content

Module config

Module config 

Source

Structs§

CleanConfig
Settings that affect destructive cleanup.
Config
User configuration loaded from devclean.toml.
ScanConfig
Settings that affect candidate discovery.
WatchConfig
Settings for the read-only filesystem watcher.

Functions§

config_candidates
Returns configuration locations in precedence order.
load_config
Loads an explicit configuration file or the first discovered default.
parse_age
Parses a human duration such as 12h, 30d, or 3weeks.
parse_bytes
Parses a human byte size such as 500MB or 2GiB.