2017-09-14 10:26:05 +02:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-05 21:17:03 +01:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2017-09-14 10:26:05 +02:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
type t
|
|
|
|
|
|
|
|
type error += Invalid_data_dir_version of t * t
|
|
|
|
type error += Could_not_read_data_dir_version of string
|
|
|
|
|
|
|
|
val data_version : t
|
2017-11-28 17:23:37 +01:00
|
|
|
val default_identity_file_name : string
|
2017-09-14 10:26:05 +02:00
|
|
|
|
|
|
|
val pp : Format.formatter -> t -> unit
|
|
|
|
|
|
|
|
val version_encoding : t Data_encoding.encoding
|
|
|
|
|
|
|
|
val ensure_data_dir : string -> unit tzresult Lwt.t
|