struct Catalog::Entry
- Catalog::Entry
- Struct
- Value
- Object
Included Modules
- Comparable(Catalog::Entry)
- JSON::Serializable
Defined in:
catalog/entry.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(repo_ref : Repo::Ref, description : String | Nil = nil, mirrors : Array(Catalog::Mirror) = [] of Mirror, state : State = :active, categories : Array(String) = [] of String)
Class Method Summary
Instance Method Summary
- #<=>(other : self)
- #archived? : Bool
- #categories : Array(String)
- #description : String | Nil
- #description=(description : String | Nil)
- #mirror?(repo_ref : Repo::Ref) : Mirror | Nil
- #mirrors : Array(Mirror)
- #repo_ref : Repo::Ref
- #state : State
- #state=(state : State)
- #to_yaml(builder : YAML::Nodes::Builder)
Constructor Detail
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)
#