struct

Topia::TaskCache::CacheEntry

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(task_name : String, input_hash : String, output_hash : String, dependencies : Array(String), file_dependencies : Array(String), success : Bool, result_data : String | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dependencies
Source
dependencies=(dependencies : Array(String))
Source
expired?(max_age : Time::Span) : Bool
Source
file_dependencies
Source
file_dependencies=(file_dependencies : Array(String))
Source
input_hash
Source
input_hash=(input_hash : String)
Source
output_hash
Source
output_hash=(output_hash : String)
Source
result_data
Source
result_data=(result_data : String | Nil)
Source
success
Source
success=(success : Bool)
Source
task_name
Source
task_name=(task_name : String)
Source
timestamp
Source
timestamp=(timestamp : Int64)
Source