Skip to main content

clear_config_path

Function clear_config_path 

Source
pub fn clear_config_path(path: &Path) -> Result<()>
Expand description

Recursively deletes the config folder, then re-runs init_config_path to recreate the standard sub-folders. Refuses to delete anything outside config_path.

Used by the “reset settings” / “clear caches” actions in the UI.