package current_docker

  1. Overview
  2. Docs

Module Default.ImageSource

include Current_cache.S.WITH_DIGEST
Sourcetype t
Sourceval digest : t -> string

digest t is a unique string for t that can be used as a primary key in a database. Two ts are considered equal if they have the same digest.

include Current_cache.S.WITH_MARSHAL with type t := t
Sourceval marshal : t -> string

Convert t to a form suitable for storage in the database.

Sourceval unmarshal : string -> t

Restore a t from a string previously produced by marshal. Raise an exception if the value cannot be read (e.g. the format has changed).

Sourceval of_hash : string -> t
Sourceval hash : t -> string
Sourceval pp : t Fmt.t
OCaml

Innovation. Community. Security.