Smith::Checkpoints::RestoreResult
Inherits Struct < Value < Object
Constructors
new(restored : Array(String) = [] of String, deleted : Array(String) = [] of String, conflicts : Array(String) = [] of String, message_id : String | Nil = nil, message_index : Int32 | Nil = nil)
SourceInstance methods
applied?
A rewind held up by a conflict has not happened. The caller is told to retry with --force, so nothing may be consumed in the meantime — neither the checkpoints nor the transcript.
changed?
Sourceconflicts
Sourcedeleted
Sourcemessage_id
Where the transcript should be cut back to, named the way the checkpoint named it. Resolving an id against the current transcript is the caller's job: the store has no business knowing what the transcript looks like.
message_index
Sourcerestored
Source