package irmin-server

  1. Overview
  2. Docs
A high-performance server for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

doc/irmin-server.unix/Irmin_server_unix/Make_ext/Command/index.html

Module Make_ext.CommandSource

Sourcemodule Store = Store

Irmin Store type

Sourcemodule Tree : Irmin_server.Tree.S with type kinded_key = Store.Tree.kinded_key and type concrete = Store.Tree.concrete

Tree wraps Store.Tree to avoid encoding/decoding trees more than needed

Sourcemodule Commit : sig ... end

Commits

Sourcemodule Server_info : sig ... end

Used to track information about the server

Sourcetype context = {
  1. conn : Conn.t;
  2. config : Irmin.Backend.Conf.t;
  3. repo : Store.Repo.t;
  4. mutable watch : Store.watch option;
  5. mutable branch_watch : Store.Backend.Branch.watch option;
}

context is passed to every command as the first argument

Sourcemodule type CMD = sig ... end
Sourcetype t = (module CMD)

Command type

Sourceval name : t -> string

Get the name of a command

Sourceval of_name : string -> t

Find a command by name, the name should be lowercase

Sourceval commands : (string * t) list

A list of all registered commands

Sourcemodule Commands : sig ... end
OCaml

Innovation. Community. Security.