skip to content
==> README.md <==
1# @ajax/mesh-state-file
2
3meshd's `--state` file: one `name dir 0|1` line per loaded program in slot order, `#` comments, written whole to `<path>.tmp` and renamed.
4
5## Ported from
6
7[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/loader.rs (`Saved`, `read_state`, `write_state`).
8
9## Tests
10
11`tests/state_file.c`: the state half of the Rust's `confined_and_catalog`, with the exact refusal message.
12
13## Licence
14
15MIT. See the repository's LICENSE.