package granary

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Granary_storeSource

Sourcemodule History : sig ... end

Append-only commit-log records for whole-DB as-of time travel (#266).

Sourcemodule Rwlock : sig ... end

Writer-mutex + reader-counter for Lwt.

Sourcemodule Store : sig ... end

Ordered byte-keyed store. Phase 0: in-memory Bytes_map per tree_id. Phase 1: CoW B+-tree on BLOCK behind the same interface.

Sourcemodule Store_event : sig ... end

Engine-internal events surfaced to an optional observer (the internals monitor; #382). Pure — depends on nothing in Granary_store.Store, so Store can depend on it without a cycle. Events are fire-and-forget; the library never blocks on an observer.