From 1c881694d4b26be62757a6a7211734eb418d407d Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Thu, 7 May 2026 01:29:02 +0000 Subject: Drop `begin_transaction`, add `abort` --- lib/management/physical.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/management/physical.ml b/lib/management/physical.ml index 717c643..9b198fb 100644 --- a/lib/management/physical.ml +++ b/lib/management/physical.ml @@ -29,12 +29,12 @@ module type BACKEND = sig val exists : connection -> Conventions.Hash.t -> (bool, error) result (** Check if a hash exists *) - val begin_transaction : connection -> (unit, error) result - (** Begin a transaction *) - val with_transaction : connection -> (unit -> 'a) -> ('a option, error) result (** Execute a function within a transaction *) + val abort : connection -> unit + (** Abort the currently executing transaction. This performs a non-local transfer of control to the nearest `with_transaction` *) + val get_many : connection -> Conventions.Hash.t BatEnum.t -> (bytes option BatEnum.t, error) result (** Batch get multiple values *) -- cgit v1.2.3