package irmin-tezos

  1. Overview
  2. Docs

Unstable internal API agnostic about the underlying storage. Use it only to implement or test inodes.

module Errs : Irmin_pack_unix.Io_errors.S with module Io = Io
module Index : sig ... end

An abstraction on top of the index library that exposes an API that better fits the irmin-pack use case.

module File_manager : Irmin_pack_unix.File_manager.S with module Io = Io and module Errs = Errs and module Index = Index

Abstraction that governs the lifetime of the various files that are part of a pack store (except the branch store).

val file_manager : repo -> File_manager.t
val dict : repo -> Dict.t
val dispatcher : repo -> Dispatcher.t
val suffix_commit_mem : repo -> XKey.t -> bool
val suffix_node_mem : repo -> XKey.t -> bool
val suffix_contents_mem : repo -> XKey.t -> bool
val kill_gc : repo -> bool