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)
| 2698 | /// policy): an attached HEAD follows the branch rule; a detached HEAD aligns |
| 2699 | /// when its commit tree exactly equals the desired view's projection. |
| 2700 | pub(crate) fn verify_at_detached_ok(root: &Path) -> CliResult<ShimSnapshot> { |
| 2701 | verify_at(root) |
| 2702 | } |
| 2703 | |
| 2704 | /// Verify against an already-open repository handle (same-process redb opens |
| 2705 | /// are exclusive, so callers holding a writable handle must reuse it). |
no test coverage detected