Skip to main content

Module clock

Module clock 

Source
Expand description

The clock port: the time of a publish, in whole seconds since the Unix epoch, from SOURCE_DATE_EPOCH when it is set and from the system clock otherwise.

Structs§

SystemClock
The system clock, unless an epoch is given.

Constants§

EPOCH_ENV
The environment variable that names a publish time, for a reproducible publish.

Traits§

Clock
Where a publish learns the time.