Whether `path` is Atomic-private shim state (`.atomic*`): tracked alive in the worktree's Atomic view but deliberately absent from project manifests and from Git. Staged whole-tree verification (review R3) exempts these paths from the extra-path refusal exactly as the conversion policy does.
(path_bytes: &[u8])
| 363 | /// these paths from the extra-path refusal exactly as the conversion policy |
| 364 | /// does. |
| 365 | pub fn atomic_private_path(path_bytes: &[u8]) -> bool { |
| 366 | let first = path_bytes |
| 367 | .split(|byte| *byte == b'/') |
| 368 | .next() |
| 369 | .unwrap_or_default(); |
| 370 | first == b".atomic" || path_bytes == b".atomicignore" |
| 371 | } |
| 372 | |
| 373 | /// Whether `path` is shim-private state under |
| 374 | /// [`ExclusionPolicy::ShimPrivate`] — deliberately absent from project |
no test coverage detected