JJ: Description from the destination commit:

~

JJ: Description from source commit:
mv mod_intf.mli
This commit is contained in:
swrup 2026-02-21 16:21:15 +01:00
parent bded77a939
commit 63e9791f88
5 changed files with 5 additions and 4 deletions

View file

@ -8,6 +8,7 @@
(name mte) (name mte)
(wrapped false) (wrapped false)
(modules :standard \ mte b32) (modules :standard \ mte b32)
(modules_without_implementation mod_intf)
(libraries (libraries
b32 b32
; ;

View file

@ -1,7 +1,7 @@
(* TODO better error type *) (* TODO better error type *)
type 'a result = ('a, string) Result.t type 'a result = ('a, string) Result.t
module type S = Keys_intf.S module type S = Mod_intf.S
module Make (Conn : Pg.CONN) = struct module Make (Conn : Pg.CONN) = struct
open Syntax open Syntax

View file

@ -1,3 +1,3 @@
module type S = Keys_intf.S module type S = Mod_intf.S
module Make (_ : Pg.CONN) : S module Make (_ : Pg.CONN) : S

View file

@ -92,8 +92,8 @@ let split_in_periodes ~start ~end_ =
go acc start end_ go acc start end_
let gen_additional_keys_until_lookahead ~now l = let gen_additional_keys_until_lookahead ~now l =
(* try to _not_ generate keys with validity start in the past (* TODO do not exceed lookahead (probably more important...) *)
(probably not important) *) (* try to not generate keys with validity start in the past *)
let start = let start =
match List.rev (sort_keys l) with match List.rev (sort_keys l) with
| [] -> now | [] -> now