# `WardrikStore.EKV`

Keeps keys on disk with EKV, copied to each connected node.

    store = WardrikStore.EKV.new(name: :my_app, data_dir: "/var/lib/my_app")
    children = [{WardrikStore, store}]

Keys sit under `wardrik_store/`, so the store can share an EKV instance with other data.

Once a key is written with `:if_vsn`, keep writing it that way. EKV refuses an
unconditional write over it.

# `new`

```elixir
@spec new(keyword()) :: WardrikStore.t()
```

Builds a store. Starts nothing.

## Options

  * `:name` - required. The EKV instance's name.
  * `:cluster_size` - `1` unless set.

Other options, such as `:data_dir`, are passed to EKV when the store starts.

---

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