Whether native publication must run the Git shim gate.
(repo_root: &Path)
| 254 | |
| 255 | /// Whether native publication must run the Git shim gate. |
| 256 | pub(crate) fn shim_publication_required(repo_root: &Path) -> bool { |
| 257 | GitRepository::discover(repo_root) |
| 258 | .map(|repository| shadow_sync_active(&repository)) |
| 259 | .unwrap_or(false) |
| 260 | } |
| 261 | |
| 262 | /// Native Atomic publication is unchanged without an active Git shadow. Once |
| 263 | /// the shadow marker exists, however, publication is gated fail-closed. |
no test coverage detected