From 584fbca6d920e9a9f91d451667f9380714ac2175 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Fri, 25 Sep 2026 21:51:33 -0300 Subject: dune fmt --- lib/abstract/Storage.ml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'lib/abstract/Storage.ml') diff --git a/lib/abstract/Storage.ml b/lib/abstract/Storage.ml index afd1a3c..e189cd7 100644 --- a/lib/abstract/Storage.ml +++ b/lib/abstract/Storage.ml @@ -1,7 +1,6 @@ module type STORAGE = sig type connection type transaction - type address = Label of string | Hash of Concepts.Hash.hash val connect : Concepts.Configuration.term -> (connection, Concepts.Condition.condition) result @@ -22,15 +21,8 @@ module type STORAGE = sig val abort : transaction -> (unit, Concepts.Condition.condition) result (** within a transaction, fetch a blob from disk *) - val get : - transaction -> - address -> - (Concepts.Blob.t option, Concepts.Condition.condition) result + val get : transaction -> address -> (Concepts.Blob.t option, Concepts.Condition.condition) result (** within a transaction, associate a hash with a blob on disk *) - val put : - transaction -> - address -> - Concepts.Blob.t -> - (unit, Concepts.Condition.condition) result + val put : transaction -> address -> Concepts.Blob.t -> (unit, Concepts.Condition.condition) result end -- cgit v1.2.3