aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/SubstantialRelation.mli
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-09-11 04:06:52 +0000
committerGitHub <noreply@github.com>2026-09-11 01:06:52 -0300
commitb79224410f469a1cd4ff3be4f8e62d71398109fc (patch)
treee025feebbdf9703ce790b4a97cb9997242c9bb4b /lib/kernel/SubstantialRelation.mli
parentefe8032f7e224c29fc67a4f8cfd52db908442eec (diff)
downloadRNT-b79224410f469a1cd4ff3be4f8e62d71398109fc.tar.gz
RNT-b79224410f469a1cd4ff3be4f8e62d71398109fc.zip
Multigroup objects
Diffstat (limited to 'lib/kernel/SubstantialRelation.mli')
-rw-r--r--lib/kernel/SubstantialRelation.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/kernel/SubstantialRelation.mli b/lib/kernel/SubstantialRelation.mli
index db86fe2..9e61411 100644
--- a/lib/kernel/SubstantialRelation.mli
+++ b/lib/kernel/SubstantialRelation.mli
@@ -1,6 +1,9 @@
module Make (S : Abstract.Storage.STORAGE) : sig
type t
+ val encode : t -> Concepts.Blob.t
+ val decode : Concepts.Blob.t -> (t, Concepts.Condition.condition) result
+
val empty :
S.transaction ->
heading:Concepts.Hash.hash ->
@@ -23,6 +26,8 @@ module Make (S : Abstract.Storage.STORAGE) : sig
val load_value : S.transaction -> Concepts.Hash.hash -> (t, Concepts.Condition.condition) result
+ val wrap : S.connection -> t -> (Protocols.Handle.t, Concepts.Condition.condition) result
+
val load :
S.transaction ->
S.connection ->