Skip to main content

settle_update

Function settle_update 

Source
pub fn settle_update(cache: &CacheManager, planned: &PlannedUpdate) -> bool
Expand description

After planned’s paths were updated: confirm only those paths against the index and, when all match, make “fresh” the memoised verdict for the rest of the original check’s window. Saves the second tree comparison (a git status on a large repository) right after an update. False when it could not.