class Zap::Lockfile::Root
- Zap::Lockfile::Root
- Reference
- Object
Included Modules
- MessagePack::Serializable
- YAML::Serializable
Defined in:
lockfile.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(name : String, version : String)
- .new(pull : MessagePack::Unpacker)
Instance Method Summary
- #dependencies : Hash(String, String) | Nil
- #dependencies=(dependencies : Hash(String, String) | Nil)
- #dependency_specifier(name : String, specifier : String | Package::Alias, _type : _)
- #dependency_specifier?(name : String)
- #dev_dependencies : Hash(String, String) | Nil
- #dev_dependencies=(dev_dependencies : Hash(String, String) | Nil)
- #each_dependency(*, include_dev : Bool = true, include_optional : Bool = true, sort : Bool = false, &block : String, String | Package::Alias, DependencyType -> T) : Nil forall T
- #map_dependencies(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Package::Alias, DependencyType -> T) : Array(T) forall T
- #name : String
- #optional_dependencies : Hash(String, String) | Nil
- #optional_dependencies=(optional_dependencies : Hash(String, String) | Nil)
- #peer_dependencies : Hash(String, String) | Nil
- #peer_dependencies=(peer_dependencies : Hash(String, String) | Nil)
- #pinned_dependencies : SafeHash(String, String | Package::Alias) | Nil
- #pinned_dependencies=(pinned_dependencies : SafeHash(String, String | Package::Alias) | Nil)
- #version : String
Constructor Detail
Instance Method Detail
def dependency_specifier(name : String, specifier : String | Package::Alias, _type : _)
#
def each_dependency(*, include_dev : Bool = true, include_optional : Bool = true, sort : Bool = false, &block : String, String | Package::Alias, DependencyType -> T) : Nil forall T
#
def map_dependencies(*, include_dev : Bool = true, include_optional : Bool = true, &block : String, String | Package::Alias, DependencyType -> T) : Array(T) forall T
#