Skip to main content

Module stamp

Module stamp 

Source
Expand description

The per-checkout stamp that holds the shell-entry caller to one attempt a day.

The sync runs from the project’s shell entry, which fires on every directory entry. The stamp records the day of the last attempt, success or failure, so a stale pin costs one network read a day and a broken one costs nothing more.

Functions§

attempted
Whether an attempt was already made today.
mark
Record today’s attempt.
path
Where the stamp for one target lives under the state root.
read
The day the stamp records, where one is recorded.
today
Today, in the host’s zone.