Verify a workspace whose HEAD may be detached (RFC §7.5, CB-8A Draft policy): an attached HEAD follows the branch rule; a detached HEAD aligns when its commit tree exactly equals the desired view's projection.
(root: &Path)
| 2654 | /// policy): an attached HEAD follows the branch rule; a detached HEAD aligns |
| 2655 | /// when its commit tree exactly equals the desired view's projection. |
| 2656 | pub(crate) fn verify_at_detached_ok(root: &Path) -> CliResult<ShimSnapshot> { |
| 2657 | verify_at(root) |
| 2658 | } |
| 2659 | |
| 2660 | /// Verify against an already-open repository handle (same-process redb opens |
| 2661 | /// are exclusive, so callers holding a writable handle must reuse it). |
no test coverage detected