method uninstall

Documentation for method uninstall assembled from the following types:

class CompUnit::Repository::Installation

From CompUnit::Repository::Installation

(CompUnit::Repository::Installation) method uninstall

method uninstall(Distribution $distribution)

Removes the $distribution from the repository. $distribution should be obtained from the repository it is being removed from:

my $inst-repo = CompUnit::RepositoryRegistry.repository-for-name("site");
my $dist = $inst-repo.candidates("Acme::Unused").head;
$inst-repo.uninstall($dist);