Module Metadata.Versioned

type t =
  1. | V0 of V0.t
  2. | V1 of V1.t
val read_metadata_file : dir:string -> t option Mavryk_base.TzPervasives.tzresult Lwt.t

Read the metadata file from dir.

val write_metadata_file : dir:string -> t -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

Write a metadata to the metadata file in dir.