package irmin

  1. Overview
  2. Docs
Irmin, a distributed database that follows the same design principles as Git

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-2.6.0.tbz
sha256=1db134221e82c424260a0e206b640fcb82902be35eea4137af2bcd9c98d3ac0f
sha512=b334e5b909563787e58790e4665f78a9f21e0f9f976eb7344cb76cbe7db870506bab193cec206e338ba74457896b2176000c936397cf3d44326507300a8193d6

doc/irmin.mem/Irmin_mem/Make/Tree/Contents/index.html

Module Tree.ContentsSource

Operations on lazy tree contents.

Sourcetype t

The type of lazy tree contents.

Sourceval hash : t -> hash

hash t is the hash of the contents value returned when t is forced successfully.

force t forces evaluation of the lazy content value t, or returns an error if no such value exists in the underlying repository.

Sourceval force_exn : t -> contents Lwt.t

Equivalent to force, but raises an exception if the lazy content value is not present in the underlying repository.

Sourceval clear : t -> unit

clear t clears t's cache.

OCaml

Innovation. Community. Security.