pub async fn snapshot_uncommitted(
worktree: &Path,
destination: &Path,
) -> Result<()>Expand description
Index-independent recovery evidence. Never treats a snapshot as a commit. Preserve staged and working tree changes separately, plus untracked bytes. Failure leaves the original tree untouched and is reported by the caller.