package metadb

  1. Overview
  2. Docs

Module type Metadb.MetadataSource

Metadata to be associated to each file in a library

Sourcetype t
Sourceval to_json : t -> Json.t
Sourceval from_json : Json.t -> t
Sourceval init : t

An constant value must be specified for initialization

Sourceval merge : t -> t -> t option

How two entries can be merged to resolve conflicts. If value is None, entries will not be merged

Sourceval to_string : t -> string

For debugging purposes