class

Keep::Commit

Inherits Reference < Object

A commit: who did what, when and why, and the actions it applied. seq is dense and ordered — assigned under the log's lock on append. reverted? is derived when the log is read: a later revert mark names this commit and no later unrevert re-instated it.

Constants

REVERT = "revert"

Reserved action names; an application must not use them.

UNREVERT = "unrevert"

Constructors

new(seq : Int64, at : String, origin : String, kind : String, summary : String, actions : Array(Keep::Action) = [] of Action)
Source

Instance methods

actions
Source
kind
Source
mark?
Source
origin
Source
reverted=(reverted : Bool)
Source
reverted?
Source
reverts

The commit this one reverts / re-instates, if it is such a mark.

Source
summary
Source
unreverts
Source