Module repository

Module repository 

Source
Expand description

Lamport Clocks scoped to a git repository.

Modules§

get

Functions§

get_clock
Get a clock, which is scoped to this repository by name. If the clock does not exist, None is returned.
get_or_init_clock
Get a clock from a repository by name. Instead of get_clock, this function will create a new clock if it was not previously initialized.