Skip to main content

detect_conflicts

Function detect_conflicts 

Source
pub fn detect_conflicts(
    repo: &ShadowRepo,
    plan: &RewindPlan,
) -> Result<Vec<String>>
Expand description

Check whether the workspace’s current state for the touched files matches the session’s last-known post-snapshot. Returns the list of conflicting paths (empty list = safe to proceed).