Skip to main content

Module entry

Module entry 

Expand description

What a committed action did, as data.

Every change an action commits carries a history entry (crate::ActionContext): who acted, for whom, on which item and what they did. “What they did” is a Did: a field edit with its path and, for scalars, the value before and after; a verb with its ActionKey and scalar arguments; a group of those; or a history step (undo, redo, restore, checkpoint). No sentence is stored. Readers render one in their own language (tilo-history), and agents, scripts and logs read the data.

Structs§

ActionItem
The item an action addressed, with its label at the time.
Described
What an action says about itself before it applies: what it does and to which item (crate::Action::describe).
FieldEdit
A built-in edit of one field.
GroupOf
Several actions committed as one change.
HistoryStep
A step through history itself.
Scalar
One plain value in an entry: a boolean, a number, a short text or an enum variant. Nested values are never stored.
VerbCall
A verb and its plain arguments by parameter name.

Enums§

Did
What an action did.
EditOp
The operation of a field edit.
HistoryOp
PathStep
One step of a path from a resource’s root to a field.

Constants§

MAX_GROUP_MEMBERS
Most members of a group kept by value; GroupOf::count keeps the total.
MAX_SCALAR_CHARS
Longest text kept for one scalar value, in characters.
MAX_VERB_ARGS
Most arguments kept for one verb.

Functions§

kebab
RemoveMarks, remove_marks and remove-marks all become remove-marks.