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
41
//! Cache management for downloaded spores and domain metadata.
//!
//! Cache location: `$CMN_HOME/hypha/cache/`
//!
//! Cache structure:
//! ```text
//! $CMN_HOME/hypha/cache/
//! └── {domain}/
//! ├── mycelium/
//! │ ├── cmn.json # cached cmn.json entry
//! │ ├── domain_state.json # anti-rollback serial/digest/key pin
//! │ ├── mycelium.json # full mycelium manifest
//! │ └── status.json # cache status for all items
//! │
//! ├── repos/ # Bare git repositories for spawn/pull
//! │ └── {root_commit}/ # Repository identified by first commit SHA
//! │
//! └── spore/
//! └── {hash}/
//! ├── spore.json
//! └── content/
//! ```
pub use ;
pub use CacheDir;
pub use ;
pub use ;
use crateHyphaConfig;
use ;