Module fs

Module fs 

Source
Expand description

Filesystem primitives used by Switchyard.

This module provides low-level, TOCTOU-safe filesystem operations used by the higher-level API stages. Consumers should prefer calling public API stages in switchyard::api rather than these atoms. Low-level atoms are crate-private and are not re-exported at the module root.

Modules§

atomic
Atomic symlink swap primitives and helpers.
backup
Backup subsystem — idiomatic directory module
meta
Filesystem metadata helpers used by preflight/apply for Minimal Facts and gating.
mount
Filesystem mount inspection and policy helpers.
paths
Path utilities for Switchyard filesystem operations.
restore
Restore subsystem — split from monolith per zrefactor/fs_refactor_backup_restore.INSTRUCTIONS.md
swap
Symlink swap orchestration that coordinates backup/snapshot and atomic swap.