Expand description
§tokmd-io-port
Tier 0 (Contract)
I/O port traits for host-abstracted file access. Enables WASM targets by replacing real fs with in-memory backends.
§What belongs here
- The
ReadFstrait and its implementations HostFs– delegates tostd::fsMemFs– in-memory store for tests and WASM
§What does NOT belong here
- Directory traversal / walking (use tokmd-walk)
- Content scanning (use tokmd-scan)
Structs§
- HostFs
- Default host filesystem implementation.
- MemFs
- In-memory filesystem for testing and WASM.
- MemFs
Error - Error type returned by
MemFsoperations.
Traits§
- ReadFs
- Read-only filesystem port.