struct

Catalog::Entry

Inherits Comparable < JSON::Serializable < Struct < Value < Object

Constructors

new(repo_ref : Repo::Ref, description : String | Nil = nil, mirrors : Array(Catalog::Mirror) = [] of Mirror, state : State = :active, categories : Array(String) = [] of String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

parse_repo_ref(ctx : YAML::ParseContext, key, value)
Source

Instance methods

<=>(other : self)
Source
archived?
Source
categories
Source
description
Source
description=(description : String | Nil)
Source
mirror?(repo_ref : Repo::Ref) : Mirror | Nil
Source
mirrors
Source
repo_ref
Source
state
Source
state=(state : State)
Source
to_yaml(builder : YAML::Nodes::Builder)
Source

Nested types