package sihl-persistence

  1. Overview
  2. Docs
type t = {
  1. namespace : string;
  2. version : int;
  3. dirty : bool;
}
val create : namespace:string -> t
val mark_dirty : t -> t
val mark_clean : t -> t
val increment : t -> t
val steps_to_apply : ('a * 'b CCList.t) -> t -> 'a * 'b CCList.t
val of_tuple : (string * int * bool) -> t
val to_tuple : t -> string * int * bool
val dirty : t -> bool
OCaml

Innovation. Community. Security.