# `H.Storage.File`
[🔗](https://github.com/parlant/harness/blob/v0.3.0/lib/h/storage/file.ex#L1)

Durable local file backend implementing `H.Storage` with a CRC32-framed
binary WAL (`commit.log`) and atomic JSON snapshots (`snapshot.<seq>.json`).

# `open_read_only`

```elixir
@spec open_read_only(keyword()) :: {:ok, H.Storage.t()} | {:error, term()}
```

Opens a session directory in side-effect-free read-only mode without creating
directories, holding open file descriptors, or truncating `commit.log`.

---

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