use fs;
use info;
/// Asynchronously erases the hyper-jump installation and downloads folders.
///
/// This function attempts to remove the hyper-jump installation directory and
/// the downloads directory. It logs successful removals and returns an error if
/// there is nothing to erase or if an error occurs during the removal process.
///
/// # Errors
///
/// Returns an error if both the installation and downloads directories do not
/// exist or cannot be removed.
///
/// # Examples
///
/// ```no_run
/// #[tokio::main]
/// async fn main() -> miette::Result<()> {
/// run().await?;
/// Ok(())
/// }
/// ```
pub async