Skip to main content

gate

Function gate 

Source
pub async fn gate(sc: &mut Syncer, identity: &str) -> LeanResult<Decision>
Expand description

Probe this store (or read the cached verdict), apply the result to sc.cfg, and say what was decided.

identity names the store the verdict belongs to — endpoint, bucket and prefix — so a workspace re-pointed somewhere else is asked again rather than inheriting an answer about a different bucket.