Skip to main content

stated_base

Function stated_base 

Source
fn stated_base<'a>(
    refresh: Option<&'a BaseRefresh>,
    stored: Option<BaseState>,
    stored_error: Option<&'a str>,
) -> (Option<BaseState>, Option<&'a str>)
Expand description

The base a record’s git row states. When the read refreshed, the row states the check its diff was read against, never the store’s newer measurement (a bypass answered while a fetch landed); a read that did not refresh, or one whose refresh answered nothing, states what the store holds.