A store composed of a single file on disk to store the current Tezos head

type t

The type of the singleton store.

val read : t -> Tezos_crypto.Block_hash.t option Lwt.t

Reads the current value from the disk. Returns None if the file does not exist or if it is corrupted.

Write the value to disk.

val delete : t -> unit Lwt.t

Deletes the value from the disk.