Expand description
Reusable synthetic 9P filesystem for services.
Services that expose a synthetic file tree (model status, tool schemas, etc.)
construct a SyntheticTree at startup, register nodes, and delegate 9P
operations to it. The tree handles fid allocation, walk resolution,
open/read/write dispatch, and idle fid reaping.
This is the synthetic counterpart to the registry’s real-filesystem 9P handler. No real files — all content is generated by closures.
Structs§
- Oneshot
State - State for a
OneshotFilenode. - Synthetic
FidTable - Fid table for synthetic filesystem. Per-client fid counts and idle reaping.
- Synthetic
Qid - Synthetic Qid: deterministic FNV-1a hash of the path string as the inode, with a constant version.
- Synthetic
Tree - A synthetic 9P file tree backed by closures.
Enums§
- Synthetic
Node - A node in the synthetic file tree.