ExESDB.Snapshots (ex_esdb v0.1.7)
The ExESDB Snapshots SubSystem.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec path( source_uuid :: String.t(), stream_uuid :: String.t(), version :: non_neg_integer() ) :: list()
Description
Returns the key for a snapshot as a Khepri Path.
Examples
iex> ExESDB.Snapshots.path("source_uuid", "stream_uuid", 1)
[:snapshots, "source_uuid", "stream_uuid", "000000001"]