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§
- Action
Item - 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). - Field
Edit - A built-in edit of one field.
- GroupOf
- Several actions committed as one change.
- History
Step - 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.
- Verb
Call - A verb and its plain arguments by parameter name.
Enums§
- Did
- What an action did.
- EditOp
- The operation of a field edit.
- History
Op - Path
Step - 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::countkeeps 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_marksandremove-marksall becomeremove-marks.