# `MedEx.Storage.File`
[🔗](https://github.com/nshkrdotcom/med_ex/blob/med_ex-v0.2.0/components/core/med_capture/lib/med_ex/storage/file.ex#L1)

POSIX single-writer adapter. A host grants each attempt a distinct, trusted
local directory. Reconciliation requires prior fencing and confirmed quiescence.
Chunks and snapshots are installed exclusively and synced before journal ACKs.

# `read_segment`

Read only a bounded regular chunk whose exact length and SHA-256 match its technical index.

# `reconcile_index`

Finish installing an already journaled terminal index under an externally quiesced fence.

# `recover`

Read a validated prefix and reconcile any previously acknowledged generation. Never truncates or appends.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
