1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! M6: content-addressed store. Spec §4.
//!
//! Filesystem layout (§4.2):
//!
//! ```text
//! <root>/
//! ├── stages/
//! │ └── <SigId>/
//! │ ├── implementations/
//! │ │ ├── <StageId>.ast.json
//! │ │ └── <StageId>.metadata.json
//! │ ├── tests/
//! │ │ └── <test_id>.json
//! │ ├── specs/
//! │ │ └── <spec_id>.json
//! │ └── lifecycle.json
//! └── traces/
//! └── <run_id>/
//! └── trace.json
//! ```
//!
//! The filesystem is canonical. We don't ship `index.db` (the spec calls
//! it a cache); the in-memory index is rebuilt on `Store::open` by
//! scanning the filesystem. Acceptance §4.6 requires that this rebuild
//! produces identical results regardless of cache state — the obvious way
//! to honor that is to keep the cache trivially derivable.
pub use ;
pub use ;
pub use ;
pub use ;