Expand description
What the atoms hold: a script’s head, its immutable versions, and its runs.
These are also the machine faces (as=application/json): one serde shape for the disk
and the wire, carrying "schema": 1 so a consumer can tell a future shape apart.
Structs§
- Event
- One change to a script’s head: what its history is made of.
- Head
- A script’s head: the mutable atom
urn:script:{name}names. - Run
- One run: the atom
urn:script:{name}:run:{id}names. - Version
- One immutable version: the content a digest names.
- Version
Document - A version’s JSON face.
Enums§
- Language
- The languages a script can be written in.
- Outcome
- How a run ended.
- State
- A script’s lifecycle state.
Constants§
- MAX_
RECORDED_ RESULT - The longest result a run record keeps; a longer one is cut there and marked.
- SCHEMA
- The version of every JSON shape this crate writes.
Functions§
- when
- A timestamp for the plain faces:
xsd:dateTimein UTC, or a note that the kernel had no clock.