struct Catalog::Entry

Included Modules

Defined in:

catalog/entry.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(repo_ref : Repo::Ref, description : String | Nil = nil, mirrors : Array(Catalog::Mirror) = [] of Mirror, state : State = :active, categories : Array(String) = [] of String) #

[View source]

Class Method Detail

def self.parse_repo_ref(ctx : YAML::ParseContext, key, value) #

[View source]

Instance Method Detail

def <=>(other : self) #

[View source]
def archived? : Bool #

[View source]
def categories : Array(String) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def mirror?(repo_ref : Repo::Ref) : Mirror | Nil #

[View source]
def mirrors : Array(Mirror) #

[View source]
def repo_ref : Repo::Ref #

[View source]
def state : State #

[View source]
def state=(state : State) #

[View source]
def to_yaml(builder : YAML::Nodes::Builder) #

[View source]