In role CompUnit::Repository§
See primary documentation in context for 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
.
In IO::Path§
See primary documentation in context for method resolve
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.
In CompUnit::Repository::FileSystem§
See primary documentation in context for 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
.
In CompUnit::Repository::Installation§
See primary documentation in context for 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
.