diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-08-27 01:35:53 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-08-27 01:41:12 +0000 |
| commit | e61404f0219cd8f07c6c278f7ee952c70ce5bdf4 (patch) | |
| tree | 412aa6ca71df835fb154427a32bb2573944faa8a /lib/kernel/Storage.mli | |
| parent | 9efb32195a905de2d66ce29164cc22970833c2d7 (diff) | |
| download | RNT-e61404f0219cd8f07c6c278f7ee952c70ce5bdf4.tar.gz RNT-e61404f0219cd8f07c6c278f7ee952c70ce5bdf4.zip | |
Branch serialization
Diffstat (limited to 'lib/kernel/Storage.mli')
| -rw-r--r-- | lib/kernel/Storage.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kernel/Storage.mli b/lib/kernel/Storage.mli index 9a10984..b8c0e5b 100644 --- a/lib/kernel/Storage.mli +++ b/lib/kernel/Storage.mli @@ -8,7 +8,10 @@ module Make : functor (S : Abstract.Storage.STORAGE) -> sig val deref : S.transaction -> 'a t -> ('a, Concepts.Condition.condition) result end + val as_hash : S.address -> Concepts.Hash.hash + val finish : S.transaction -> ('a, Concepts.Condition.condition) result -> ('a, Concepts.Condition.condition) result val with_transaction : S.connection -> (S.transaction -> ('a, Concepts.Condition.condition) result) -> ('a, Concepts.Condition.condition) result val store_blob : S.transaction -> Concepts.Blob.t -> (Concepts.Hash.hash, Concepts.Condition.condition) result + val get_req: S.transaction -> S.address -> (Concepts.Blob.t, Concepts.Condition.condition) result end |
