Documentation for method candidates
assembled from the following pages:
Class: CompUnit::Repository::FileSystem §
From CompUnit::Repository::FileSystem
(CompUnit::Repository::FileSystem) method candidates §
multi method candidates(Str , :, :, :)multi method candidates(CompUnit::DependencySpecification )
Return all distributions that contain a module matching the specified $name
, auth
, ver
, and api
.
# assuming one is cloned into the zef git repository... my = CompUnit::Repository::FileSystem.new(prefix => );with .candidates("Zef").head -> else
Class: CompUnit::Repository::Installation §
From CompUnit::Repository::Installation
(CompUnit::Repository::Installation) method candidates §
multi method candidates(Str , :, :, :)multi method candidates(CompUnit::DependencySpecification )
Return all distributions that contain a module matching the specified $name
, auth
, ver
, and api
.
my = CompUnit::RepositoryRegistry.repository-for-name("perl").prefix;my = CompUnit::Repository::Installation.new(prefix => );my = .candidates("Test").head;say "Test version: " ~ .meta<ver>; # OUTPUT: «6.d»
Class: Routine §
From Routine
(Routine) method candidates §
method candidates(Routine: --> Positional)
Returns a list of multi candidates, or a one-element list with itself if it's not a multi