Skip to main content

Module safety

Module safety 

Source

Functionsยง

adjust_risk
Elevate risk level if the path involves critical user data. This should be called on every CleanableItem before presenting to the user.
is_critical_app_path
Check if a path involves a critical app whose data should be Risk::High.
is_critical_file
Check if a filename suggests critical user data.