Skip to main content

bootstrap_cache_get

Function bootstrap_cache_get 

Source
pub fn bootstrap_cache_get(
    config_dir: &Path,
    device: &str,
) -> Option<Option<String>>
Expand description

The cached login for device if its bootstrap is still fresh, else None (None = do a full bootstrap). Outer Some = fresh cache hit; the inner Option is the login account the acceptor last reported (None when it reported none).