Skip to main content

refresh_base_now

Function refresh_base_now 

Source
pub async fn refresh_base_now(cwd: &Path, default_branch: &str) -> BaseRefresh
Expand description

Answer the base by running the refresh on this call: the one path that waits, for a seat with no session.

A sessionless seat has no watch, so nothing would deliver a kicked check to its page: the read is the only thing that can carry it. The slot is claimed first, so a second open inside the window answers the stored check rather than fetching again (#2818).