class Zap::Lockfile::Root

Included Modules

Defined in:

lockfile.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

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

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(name : String, version : String) #

[View source]
def self.new(pull : MessagePack::Unpacker) #

[View source]

Instance Method Detail

def dependencies : Hash(String, String) | Nil #

[View source]
def dependencies=(dependencies : Hash(String, String) | Nil) #

[View source]
def dependency_specifier(name : String, specifier : String | Package::Alias, _type : _) #

[View source]
def dependency_specifier?(name : String) #

[View source]
def dev_dependencies : Hash(String, String) | Nil #

[View source]
def dev_dependencies=(dev_dependencies : Hash(String, String) | Nil) #

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

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

[View source]
def name : String #

[View source]
def optional_dependencies : Hash(String, String) | Nil #

[View source]
def optional_dependencies=(optional_dependencies : Hash(String, String) | Nil) #

[View source]
def peer_dependencies : Hash(String, String) | Nil #

[View source]
def peer_dependencies=(peer_dependencies : Hash(String, String) | Nil) #

[View source]
def pinned_dependencies : SafeHash(String, String | Package::Alias) | Nil #

[View source]
def pinned_dependencies=(pinned_dependencies : SafeHash(String, String | Package::Alias) | Nil) #

[View source]
def version : String #

[View source]