From c452541e935295f2708271a12207f7c7ee2636bf Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Sun, 23 Aug 2026 03:34:07 +0000 Subject: Allow directory operations to fail if needed --- lib/protocols/Directory.mli | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/protocols/Directory.mli') diff --git a/lib/protocols/Directory.mli b/lib/protocols/Directory.mli index 5bf5277..9033235 100644 --- a/lib/protocols/Directory.mli +++ b/lib/protocols/Directory.mli @@ -1,13 +1,13 @@ type t class type implementation = object - method list : string list - method find : string -> Handle.t option + method list : (string BatFingerTree.t, Concepts.Condition.condition) result + method find : string -> (Handle.t option, Concepts.Condition.condition) result end val make : #implementation -> Handle.protocol val from : Handle.t -> t Handle.interface option -val list : t Handle.interface -> string list -val find : t Handle.interface -> string -> Handle.t option +val list : t Handle.interface -> (string BatFingerTree.t, Concepts.Condition.condition) result +val find : t Handle.interface -> string -> (Handle.t option, Concepts.Condition.condition) result -- cgit v1.2.3