struct Zap::Package::Overrides::Override

Included Modules

Defined in:

package/overrides.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(name : String, version : String, specifier : String, parents : Array(Parent) | Nil = nil) #

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

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

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, version _version = @version, specifier _specifier = @specifier, parents _parents = @parents) #

[View source]
def matched_parents(ancestors : Iterable(Package | Lockfile::Root)) : Array(Parent) #

[View source]
def matches_ancestors?(ancestors : Iterable(Package | Lockfile::Root)) : Bool #

[View source]
def matches_package?(metadata : Package) : Bool #

[View source]
def name : String #

def parents : Array(Parent) | Nil #

def specifier : String #

def version : String #