Skip to main content

Mountain/ApplicationState/
mod.rs

1//! # ApplicationState
2//!
3//! Thread-safe state machine shared across all Mountain subsystems.
4//! Organized into three tiers: DTOs (serializable data transfer objects),
5//! Internal services (persistence, recovery, scanning), and State
6//! (extension, feature, UI, and workspace state).
7//!
8//! ## Structure
9//!
10//! The state is wrapped in Arc and mutated via poisoned-lock guard patterns.
11//! Every subsystem operates through the same ApplicationState instance,
12//! ensuring consistency.
13
14/// Serializable data transfer objects used for state persistence.
15pub mod DTO;
16
17pub mod State;
18
19/// Internal services: extension scanning, path resolution, persistence,
20/// recovery, serialization, and text processing.
21pub mod Internal;