diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-08-13 00:26:10 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-08-23 03:06:55 +0000 |
| commit | f885a8f7dd85d79c5c8aa93265f5dea781b345a9 (patch) | |
| tree | 2fc4c72e0436a278dc01d0387f38d1e0080d8284 /lib/kernel/Initialization.ml | |
| parent | a727eb4351df972ff2e34fa111aeb435e70cdbd4 (diff) | |
| download | RNT-f885a8f7dd85d79c5c8aa93265f5dea781b345a9.tar.gz RNT-f885a8f7dd85d79c5c8aa93265f5dea781b345a9.zip | |
Avoid exporting `persist`
Diffstat (limited to 'lib/kernel/Initialization.ml')
| -rw-r--r-- | lib/kernel/Initialization.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/Initialization.ml b/lib/kernel/Initialization.ml index d84a29e..a27539f 100644 --- a/lib/kernel/Initialization.ml +++ b/lib/kernel/Initialization.ml @@ -52,7 +52,7 @@ module Make (Store : Abstract.Storage.STORAGE) = struct (* The first branch state has no synthetic "genesis" commit. Both [current] and [history] point at persisted empty trees; the runtime mounts /system around those roots after initialization. *) - let* empty_root = Branch_index.persist tx Branch_index.empty in + let* empty_root = Branch_index.empty_under tx in Concepts.BranchState.make ~current:empty_root ~history:empty_root ~tip:None |> Concepts.BranchState.to_blob |> S.store_blob tx |
