struct Zap::Package::Overrides
- Zap::Package::Overrides
- Struct
- Value
- Object
Defined in:
package/overrides.crConstructors
- .from_json(pull : JSON::PullParser) : self
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(other : self)
- .new(pull : JSON::PullParser)
- .new(pull : MessagePack::Unpacker)
Class Method Summary
- .from_msgpack(pull : MessagePack::Unpacker) : Array
- .from_yaml(ctx : YAML::ParseContext, node : YAML::Nodes::Node) : Array
- .merge(a : self | Nil, b : self | Nil) : self | Nil
- .override_matches?(metadata : Package, override : Override) : Bool
Instance Method Summary
- #override?(metadata : Package, ancestors : Iterable(Package | Lockfile::Root), *, match_ancestors : Bool = true) : Override | Nil
- #override_entries : Hash(String, Array(Override))
- #to_json(*args, **options)
- #to_json(*args, **options, &)
- #to_msgpack(packer : MessagePack::Packer)
Macro Summary
Constructor Detail
Class Method Detail
Instance Method Detail
def override?(metadata : Package, ancestors : Iterable(Package | Lockfile::Root), *, match_ancestors : Bool = true) : Override | Nil
#