struct

Kozai::Catalog::SourceStatus

Inherits Struct < Value < Object

What happened with one source on the last refresh.

Constructors

new(location : String, remote : Bool, count : Int32 = 0, cached : Bool = false, retrieved_at : Time | Nil = nil, error : String | Nil = nil)
Source

Instance methods

cached?

Whether the data came from the cache rather than a fresh download.

Source
count

Number of element sets it yielded.

Source
error

Why the source failed, if it did.

Source
location

File path or URL.

Source
ok?

Whether the source produced anything usable.

Source
remote?

Whether this source is remote.

Source
retrieved_at

When the data was retrieved, as far as can be told.

Source