switchyard-fs 1.0.0

Switchyard: safe, atomic, reversible filesystem swaps with policy and audit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Preflight checks and helpers.
//!
//! This module provides best-effort filesystem and policy gating checks used by the
//! higher-level API. It also exposes a small helper to render a `PreflightReport`
//! into a SPEC-aligned YAML sequence for fixtures and artifacts.

pub mod checks;
pub mod yaml;

// Re-export common helpers for convenience
pub use checks::{check_immutable, check_source_trust, ensure_mount_rw_exec};
pub use yaml::to_yaml;