From 24bb5eab738e291ee170f4fd563f39e33f65f37d Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Thu, 17 Sep 2026 03:36:30 +0000 Subject: WIP forsake context --- lib/runtime/Context.ml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lib/runtime/Context.ml (limited to 'lib/runtime/Context.ml') diff --git a/lib/runtime/Context.ml b/lib/runtime/Context.ml deleted file mode 100644 index 2189735..0000000 --- a/lib/runtime/Context.ml +++ /dev/null @@ -1,14 +0,0 @@ -module Error = struct - open Concepts.Condition - - let not_a_directory segment = - condition "not-a-directory" "A path segment named an object with no Directory protocol" - ("segment" |=| Concepts.Value.String segment) -end - -let resolve { Protocols.Context.root; _ } name = Kernel.Path.lookup root name - -let over ~snapshot ~root ?(cancelled = fun () -> false) () = - { Protocols.Context.snapshot - ; root - ; status = (fun () -> if cancelled () then `Cancelled else `Live) } -- cgit v1.2.3