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/Append/index.html

Module Mgit_blk.AppendSource

An append-only block device.

This module lets the user to manipulate a block device as an append-only block device. In other words, bytes can only be appended up to a certain limit. If this limit is reached, the Out_of_space exception is raised. The bytes are written as soon as a sector can be written to the block device. If the user wishes to force the write, the flush function is available (and the remaining bytes will be replaced by "\000"). Write operations to a sector are atomic.

Sourceexception Out_of_space
Sourcemodule type S = sig ... end
Sourcemodule Make (Block : Device.S) : S with type blk = Block.t