abstract struct Zap::Commands::Install::Protocol::Resolver
Direct Known Subclasses
- Zap::Commands::Install::Protocol::File::Resolver
- Zap::Commands::Install::Protocol::Registry::Resolver
- Zap::Commands::Install::Protocol::TarballUrl::Resolver
- Zap::Commands::Install::Protocol::Workspace::Resolver
Defined in:
commands/install/protocol/resolver.crConstructors
Class Method Summary
- .dedupe_store(key : String, &block : -> Bool) : Bool
- .keyed_lock(key : String, &block : -> Package) : Package
Instance Method Summary
- #dependency_type : Package::DependencyType | Nil
- #name : String | Aliased | Nil
- #parent : Package | Lockfile::Root | Nil
- #resolve(*, pinned_version : String | Nil = nil) : Package
- #skip_cache : Bool
- #specifier : Specifier
- #state : Commands::Install::State
- #store?(metadata : Package, &) : Bool
- #valid?(metadata : Package) : Bool
Constructor Detail
def self.new(state : Zap::Commands::Install::State, name : String | Zap::Commands::Install::Protocol::Aliased | Nil, specifier : String | Zap::Utils::Semver::Range = "latest", parent : Zap::Lockfile::Root | Zap::Package | Nil = nil, dependency_type : Zap::Package::DependencyType | Nil = nil, skip_cache : Bool = false)
#