package octez-internal-libs

  1. Overview
  2. Docs
A package that contains some libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/irmin_pack_unix/Irmin_pack_unix/Lower/Make_volume/index.html

Module Lower.Make_volumeSource

Parameters

module Io : Io.S
module Errs : Io_errors.S with module Io = Io

Signature

module Io = Io
module Errs = Errs
Sourcetype t
Sourcetype open_error = [
  1. | Io.open_error
  2. | `Closed
  3. | `Double_close
  4. | `Corrupted_control_file of string
  5. | `Unknown_major_pack_version of string
]
Sourceval v : string -> (t, [> open_error ]) Stdlib.result

v path loads the volume at path in read-only.

Sourceval path : t -> string

path t is the directory that contains the volume.

Sourceval is_empty : t -> bool

is_empty t returns whether t is empty or not.

control t returns the control file payload for the volume.

Sourceval identifier : t -> string

identifier t is a unique idendifier for the volume.

OCaml

Innovation. Community. Security.