Expand description
The machine state that step records keep (“Machine state”).
Every step that runs records the MachineStateRecord that its command started
with, in the six parts that MachinePart names. A step names, with
run(..., machine = [...]), the parts that count as its inputs: the cache check
compares only those, value by value, with machine_changes, and kizz why
shows their values, and with --verbose every part, with
MachineStateRecord::text.
The host name, the credentials, the umask, the machine architecture and the CPU model are not per step: they are the cache identity.
Structs§
- Disk
Record - The size and free space of the file system that held the working directory, in bytes.
- File
System Record - The file system that held the working directory.
- Kernel
Record - The kernel that ran a command.
- Limit
Record - One resource limit, soft and hard.
- Machine
Change - One value of the machine state that changed since a step’s record.
- Machine
State Record - The machine and process state that a command started with, as its step record
keeps it, in the six parts of
MachinePart. A part that could not be read isNone, which explanations show asunknown. - Memory
Record - The memory of the machine, in bytes.
Enums§
- Machine
Part - One part of the machine state, as
run(..., machine = [...])names it.
Functions§
- machine_
changes - Every value of the parts
partsthat differs betweenold, the recorded state, andnew, the current one, in the order ofpartsand then of the values. - machine_
changes_ text - The changes
changeson one line, such askernel release from 6.1 to 6.2, available memory from 1 bytes to 2 bytes, ornothingfor none.