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_mem/Irmin_mem/Make/History/E/index.html

Module History.E

Edges have type E.t and are labeled with type E.label. src (resp. dst) returns the origin (resp. the destination) of a given edge.

Edges are ORDERED_TYPE.

type t
val compare : t -> t -> int

Edges are directed.

type vertex = vertex
val src : t -> vertex

Edge origin.

val dst : t -> vertex

Edge destination.

Edges are labeled.

type label
val create : vertex -> label -> vertex -> t

create v1 l v2 creates an edge from v1 to v2 with label l

val label : t -> label

Get the label of an edge.

OCaml

Innovation. Community. Security.