diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-07-31 00:56:01 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-07-31 00:56:01 -0300 |
| commit | c55092be9108898cb31ed79fe2c341a7a9f7d3bf (patch) | |
| tree | 00270ae07f52199dcffc8ca4e09d4e273c71d442 /lib/kernel/Initialization.mli | |
| parent | 7bd6a69cea4e57bf79cdf7fcd22619506d3c12c1 (diff) | |
| download | RNT-c55092be9108898cb31ed79fe2c341a7a9f7d3bf.tar.gz RNT-c55092be9108898cb31ed79fe2c341a7a9f7d3bf.zip | |
initialization
Diffstat (limited to '')
| -rw-r--r-- | lib/kernel/Initialization.mli | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/kernel/Initialization.mli b/lib/kernel/Initialization.mli new file mode 100644 index 0000000..35e6f22 --- /dev/null +++ b/lib/kernel/Initialization.mli @@ -0,0 +1,19 @@ +type address = Concepts.Hash.hash + +type t + +val fixed_label : string +val fixed_label_address : address + +include Concepts.Object.S with type t := t + +val make : default_branch:string -> branches:address -> t + +val default_branch : t -> string +val branches : t -> address +val address : t -> address + +module Make (Store : Abstract.Storage.STORAGE) : sig + val register : Store.transaction -> t -> (address, Concepts.Condition.condition) result + val load : Store.transaction -> (t option, Concepts.Condition.condition) result +end |
