Skip to main content

warm

Function warm 

Source
pub fn warm(project_root: &Path) -> Result<bool, CloudError>
Expand description

Fetch the task lists a session reads first (all, and open) for the checkout at project_root into the cache, in the caller’s thread: the daemon’s background sync keeps them warm, so a fresh session answers at once from them (with their age) instead of “being fetched”. A list the Instance fetched less than super::reads::READ_TTL ago is not asked again. Ok(false) when tasks do not apply there (no right, not shared): nothing fetched.