[][src]Function please_pm::remove_package

pub fn remove_package(
    package_name: String,
    force_remove: bool
) -> Result<String, ErrorKind>

Removes a given package_name. This function will not succeed if the package is not installed or is a dependancy (optional or otherwise) to another package.

force_remove foces the removal of a package. This should not be used unless it is an emergency.

NOTE: This function is a frontend and will therefore display a formatted answer; no matter what.