vortex-fs 0.1.0

Virtual file system with fault injection for Vortex simulation
Documentation
//! `vortex-fs` — Virtual file system with deterministic fault injection.
//!
//! Provides a [`VortexFs`] trait that mirrors `std::fs` operations. Two
//! implementations are included:
//! - [`RealFs`] — production pass-through to `std::fs` (zero overhead).
//! - [`SimFs`] — in-memory filesystem with configurable fault injection.
//!
//! # Example
//! ```
//! use vortex_fs::{SimFs, VortexFs};
//!
//! let mut fs = SimFs::new(42);
//! fs.write_file("/data/hello.txt", b"world").unwrap();
//! let data = fs.read_file("/data/hello.txt").unwrap();
//! assert_eq!(data, b"world");
//! ```

mod real;
mod sim;
mod traits;

pub use real::RealFs;
pub use sim::SimFs;
pub use traits::{FileMetadata, FileType, VortexFs, VortexFsError, VortexFsResult};