Skip to main content

refresh_once

Function refresh_once 

Source
async fn refresh_once(
    cwd: &Path,
    default_branch: &str,
    budget: Duration,
    key: (PathBuf, String),
) -> BaseRefresh
Expand description

Join (or lead) one run for key and answer it. A kick that arrives while another works joins it rather than fetching the same base twice.