get_clock

Function get_clock 

Source
pub fn get_clock(
    repo: &Repository,
    name: &str,
) -> Result<Option<PersistedClock>, Error>
Expand description

Get a clock, which is scoped to this repository by name. If the clock does not exist, None is returned.

ยงErrors

If the clock could not be loaded from disk.