package mgit

Build not yet checked
  1. Overview
  2. Docs
Git in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mgit-0.1.0.tbz
sha256=6fad812ce53e69e045c4d53d958fc0f12c13900841348dd37f0ba6dd0db2ba8d
sha512=3c2427bc9ee42748aa99540582125aea989dca574493ef46cae70d67ab005c517f079c6c537507b3cb53544811864d52d30df22993b7c297f6a6521f6484ff82

doc/mgit.blk/Mgit_blk/index.html

Module Mgit_blkSource

Sourcemodule Device : sig ... end
Sourcemodule Append : sig ... end

An append-only block device.

Sourcemodule type BLOCK = Device.S

Blk is a module which splits a block device into 3 parts:

  • a temporary part
  • two parts, one of which is the most up to date

The aim is to be able to refer to a zone atomically with consistent information. The old zone can be reused to apply an update which will (if all goes well) be treated as the new active zone once the atomic point is reached at which the changes to the Blk metadata are confirmed (see commit).

Sourcetype zone = [
  1. | `Active
  2. | `Inactive
  3. | `Temporary
]
Sourcemodule Make (Block : BLOCK) : sig ... end