pub fn delete_bad_dir(dir: PathBuf) -> Result<(), PrepError>
Expand description

Deletes a corrupted ‘.perseus/’ directory. This will be called on certain error types that would leave the user with a half-finished product, which is better to delete for safety and sanity.