abstract struct Zap::Commands::Install::Protocol::Resolver

Direct Known Subclasses

Defined in:

commands/install/protocol/resolver.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

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) #

[View source]

Class Method Detail

def self.dedupe_store(key : String, &block : -> Bool) : Bool #

[View source]
def self.keyed_lock(key : String, &block : -> Package) : Package #

[View source]

Instance Method Detail

def dependency_type : Package::DependencyType | Nil #

[View source]
def name : String | Aliased | Nil #

[View source]
def parent : Package | Lockfile::Root | Nil #

[View source]
abstract def resolve(*, pinned_version : String | Nil = nil) : Package #

[View source]
def skip_cache : Bool #

[View source]
def specifier : Specifier #

[View source]

[View source]
abstract def store?(metadata : Package, &) : Bool #

[View source]
abstract def valid?(metadata : Package) : Bool #

[View source]