Linked_log.Make
Make
returns a mergeable linked log using the backend and other parameters as specified by the user.
module Backend : Irmin.KV_maker
module C : sig ... end
module H : Irmin.Hash.S
Store for the log. All store related operations like branching, cloning, merging, etc are done through this module.
val append : path:Store.path -> Store.t -> value -> unit Lwt.t
Append an entry to the log
val read_all : path:Store.path -> Store.t -> value list Lwt.t
Read the entire log
Type of cursor. Cursor is like a marker from which a certain number of entries can be read
val get_cursor : path:Store.path -> Store.t -> cursor Lwt.t
Create a new cursor over the log entires at the given path
Read at most num_items
entries from the cursor. If the number specified is greater than the number of log entries from the cursor, the log is read till the end. If the input cursor has already reached the end, then an empty list is returned