module Zap::Package::Helpers::Dependencies

Direct including types

Defined in:

package/helpers.cr

Instance Method Summary

Instance Method Detail

def add_dependency_ref(package : Package, type : DependencyType | Nil = nil) #

[View source]
def dependencies_refs #

[View source]
def dependencies_size(*, include_dev : Bool = true, include_optional : Bool = true) : Int #

[View source]
def dependency_specifier(name : String, specifier : String | Zap::Package::Alias, type : DependencyType | Nil = nil) : Nil #

[View source]
def dependency_specifier?(name : String, *, include_dev : Bool = true, include_optional : Bool = true) : String | Zap::Package::Alias | Nil #

[View source]
def dev_dependencies_refs #

[View source]
def each_dependency(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Alias, DependencyType -> Nil) #

[View source]
def each_dependency_hash(*, include_dev : Bool = true, include_optional : Bool = true, &block : Hash(String, String | Alias) | Nil, DependencyType -> T) forall T #

[View source]
def each_dependency_ref(*, include_dev : Bool = true, include_optional : Bool = true, &block : Package, DependencyType -> Nil) #

[View source]
def has_dependency?(name : String, *, include_dev : Bool = true, include_optional : Bool = true) : Bool | Nil #

[View source]
def map_dependencies(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Alias, DependencyType -> T) : Array(T) forall T #

[View source]
def optional_dependencies_refs #

[View source]
def trim_dependencies_fields #

[View source]