module Zap::Commands::Install::Resolver
Defined in:
commands/install/resolver.crConstant Summary
-
Log =
Zap::Log.for(self)
Class Method Summary
- .dedupe_store(key : String, &block : -> Bool) : Bool
- .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
- .keyed_lock(key : String, &block : -> Package) : Package
- .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)
- .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 -> _)
- .resolve_added_packages(package : Package, *, state : Commands::Install::State, directory : String)
- .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)
Class Method Detail
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
#
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)
#
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 -> _)
#
def self.resolve_added_packages(package : Package, *, state : Commands::Install::State, directory : String)
#
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)
#