module Zap::Package::Helpers::Dependencies
Direct including types
Defined in:
package/helpers.crInstance Method Summary
- #add_dependency_ref(package : Package, type : DependencyType | Nil = nil)
- #dependencies_refs
- #dependencies_size(*, include_dev : Bool = true, include_optional : Bool = true) : Int
- #dependency_specifier(name : String, specifier : String | Zap::Package::Alias, type : DependencyType | Nil = nil) : Nil
- #dependency_specifier?(name : String, *, include_dev : Bool = true, include_optional : Bool = true) : String | Zap::Package::Alias | Nil
- #dev_dependencies_refs
- #each_dependency(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Alias, DependencyType -> Nil)
- #each_dependency_hash(*, include_dev : Bool = true, include_optional : Bool = true, &block : Hash(String, String | Alias) | Nil, DependencyType -> T) forall T
- #each_dependency_ref(*, include_dev : Bool = true, include_optional : Bool = true, &block : Package, DependencyType -> Nil)
- #has_dependency?(name : String, *, include_dev : Bool = true, include_optional : Bool = true) : Bool | Nil
- #map_dependencies(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Alias, DependencyType -> T) : Array(T) forall T
- #optional_dependencies_refs
- #trim_dependencies_fields
Instance Method Detail
def dependency_specifier(name : String, specifier : String | Zap::Package::Alias, type : DependencyType | Nil = nil) : Nil
#
def dependency_specifier?(name : String, *, include_dev : Bool = true, include_optional : Bool = true) : String | Zap::Package::Alias | Nil
#
def each_dependency(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Alias, DependencyType -> Nil)
#
def each_dependency_hash(*, include_dev : Bool = true, include_optional : Bool = true, &block : Hash(String, String | Alias) | Nil, DependencyType -> T) forall T
#
def each_dependency_ref(*, include_dev : Bool = true, include_optional : Bool = true, &block : Package, DependencyType -> Nil)
#
def has_dependency?(name : String, *, include_dev : Bool = true, include_optional : Bool = true) : Bool | Nil
#
def map_dependencies(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Alias, DependencyType -> T) : Array(T) forall T
#