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])
| 343 | /// these paths from the extra-path refusal exactly as the conversion policy |
| 344 | /// does. |
| 345 | pub fn atomic_private_path(path_bytes: &[u8]) -> bool { |
| 346 | let first = path_bytes |
| 347 | .split(|byte| *byte == b'/') |
| 348 | .next() |
| 349 | .unwrap_or_default(); |
| 350 | first == b".atomic" || path_bytes == b".atomicignore" |
| 351 | } |
| 352 | |
| 353 | /// Whether `path` is shim-private state under |
| 354 | /// [`ExclusionPolicy::ShimPrivate`] — deliberately absent from project |
no test coverage detected