module Zap::Commands::Install::Resolver

Defined in:

commands/install/resolver.cr

Constant Summary

Log = Zap::Log.for(self)

Class Method Summary

Class Method Detail

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

[View source]
def self.get(state : Commands::Install::State, name : String | Nil, specifier : String = "latest", parent : Package | Lockfile::Root | Nil = nil, dependency_type : Package::DependencyType | Nil = nil, skip_cache : Bool = false) : Protocol::Resolver #

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

[View source]
def self.resolve(package : Package | Nil, name : String, version : String, type : Package::DependencyType | Nil = nil, *, state : Commands::Install::State, is_direct_dependency : Bool = false, single_resolution : Bool = false, ancestors : Deque(Package) = Deque(Package).new, bust_pinned_cache : Bool = false) #

[View source]
def self.resolve(package : Package | Nil, name : String, version : String, type : Package::DependencyType | Nil = nil, *, state : Commands::Install::State, is_direct_dependency : Bool = false, single_resolution : Bool = false, ancestors : Deque(Package) = Deque(Package).new, bust_pinned_cache : Bool = false, &on_resolve : Package -> _) #

[View source]
def self.resolve_added_packages(package : Package, *, state : Commands::Install::State, directory : String) #

[View source]
def self.resolve_dependencies_of(package : Package, *, state : Commands::Install::State, ancestors : Deque(Package) = Deque(Package).new, disable_cache_for_packages : Array(String) | Nil = nil, disable_cache : Bool = false) #

[View source]