Documentation for method resolve
assembled from the following pages:
Role: CompUnit::Repository §
From CompUnit::Repository
(CompUnit::Repository) method resolve §
method resolve(CompUnit::DependencySpecification --> CompUnit)
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
.
Class: CompUnit::Repository::FileSystem §
From CompUnit::Repository::FileSystem
(CompUnit::Repository::FileSystem) method resolve §
method resolve(CompUnit::DependencySpecification --> CompUnit)
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
.
Class: CompUnit::Repository::Installation §
From CompUnit::Repository::Installation
(CompUnit::Repository::Installation) method resolve §
method resolve(CompUnit::DependencySpecification --> CompUnit)
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
.
Class: IO::Path §
From IO::Path
(IO::Path) method resolve §
Defined as:
method resolve(IO::Path: : --> IO::Path)
Returns a new IO::Path
object with all symbolic links and references to the parent directory (..
) resolved. This means that the filesystem is examined for each directory in the path, and any symlinks found are followed.
# bar is a symlink pointing to "/baz" my = "foo/./bar/..".IO.resolve; # now "/" (the parent of "/baz")
If :$completely
, which defaults to False
, is set to a true value, the method will fail
with X::IO::Resolve
if it cannot completely resolve the path, otherwise, it will resolve as much as possible, and will merely perform cleanup
of the rest of the path. The last part of the path does NOT have to exist to :$completely
resolve the path.
NOTE: Currently (April 2017) this method doesn't work correctly on all platforms, e.g. Windows, since resolve
assumes POSIX semantics.