CompUnit::Repository Reference
CompUnit::Repository
What it is #
Position in the hierarchy #
| Inherits from | — |
| Does | — |
| Consumed by | CompUnit::Repository::FileSystem |
Routines #
Signatures are reproduced from the documentation, including their declared return types. A routine listed here is part of the type's published interface; whether Raku++ implements it is a separate question, answered by the examples below.
method resolve #
method resolve(CompUnit::DependencySpecification $spec --> CompUnit:D)
Returns CompUnit:D.
Returns a CompUnit mapped to the highest version distribution matching $spec from the first repository in the repository chain that contains any version of a distribution matching $spec.
method need #
Loads and returns a CompUnit which is mapped to the highest version distribution matching $spec from the first repository in the repository chain that contains any version of a distribution matching $spec.
method load #
method load(IO::Path:D $file --> CompUnit:D)
Returns CompUnit:D.
Load the $file and return a CompUnit object representing it.
method loaded #
method loaded(--> Iterable:D)
Returns Iterable:D.
Returns all CompUnits this repository has loaded.