struct Zap::Package::Overrides

Defined in:

package/overrides.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class Object

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

Constructor Detail

def self.from_json(pull : JSON::PullParser) : self #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(other : self) #

[View source]
def self.new(pull : JSON::PullParser) #

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

[View source]

Class Method Detail

def self.from_msgpack(pull : MessagePack::Unpacker) : Array #

[View source]
def self.from_yaml(ctx : YAML::ParseContext, node : YAML::Nodes::Node) : Array #

[View source]
def self.merge(a : self | Nil, b : self | Nil) : self | Nil #

[View source]
def self.override_matches?(metadata : Package, override : Override) : Bool #

[View source]

Instance Method Detail

def override?(metadata : Package, ancestors : Iterable(Package | Lockfile::Root), *, match_ancestors : Bool = true) : Override | Nil #

[View source]
def override_entries : Hash(String, Array(Override)) #

[View source]
def to_json(*args, **options) #

[View source]
def to_json(*args, **options, &) #

[View source]
def to_msgpack(packer : MessagePack::Packer) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]