Whether `path` (a repo-relative git path) is a git-excluded Atomic shadow / provenance path that Rule V4 forbids from any shadow commit.
(path: &str)
| 2194 | /// Whether `path` (a repo-relative git path) is a git-excluded Atomic shadow / |
| 2195 | /// provenance path that Rule V4 forbids from any shadow commit. |
| 2196 | fn is_forbidden_shadow_path(path: &str) -> bool { |
| 2197 | path == ".atomicignore" || path.starts_with(".atomic/") || path.starts_with(".vault/") |
| 2198 | } |
| 2199 | |
| 2200 | #[cfg(test)] |
| 2201 | mod tests { |
no outgoing calls
no test coverage detected