Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/
Model.rs

1//! # Text Model registry + TextFile handlers
2//!
3//! Two related responsibilities sharing the same dispatcher
4//! family:
5//!
6//! - `Model*` - Monaco-side text model registry. Mountain owns
7//!   `ApplicationState.Feature.Documents`; Wind reads/writes through these
8//!   handlers so the document state survives a webview reload.
9//! - `Textfile*` - disk-only paths that bypass the registry. Used for tooling
10//!   reads (settings, manifests) and for the actual save round-trip.
11//!
12//! Layout (one export per file, file name = identity):
13//! - `ModelOpen::ModelOpen`, `ModelClose::ModelClose`, `ModelGet::ModelGet`,
14//!   `ModelGetAll::ModelGetAll`, `ModelUpdateContent::ModelUpdateContent`.
15//! - `TextfileRead::TextfileRead`, `TextfileWrite::TextfileWrite`,
16//!   `TextfileSave::TextfileSave`.
17
18pub mod ModelClose;
19
20pub mod ModelGet;
21
22pub mod ModelGetAll;
23
24pub mod ModelOpen;
25
26pub mod ModelUpdateContent;
27
28pub mod TextfileRead;
29
30pub mod TextfileSave;
31
32pub mod TextfileWrite;