Skip to main content

sibling_revision

Function sibling_revision 

Source
pub fn sibling_revision(repo: &Path) -> String
Expand description

Return a cache key derived from the checkout’s HEAD and source bytes, not its directory location. Staged changes, unstaged changes, and untracked non-ignored files contribute, so each local edit invalidates a cached build.