package odig

  1. Overview
  2. Docs

cmti files.

Cmti

type t = cmti

The type for cmti files.

val read : Fpath.t -> (cmti, [ `Msg of string ]) Pervasives.result

read f reads a cmti file from f.

val name : cmti -> string

name cmti is the name of the module interface.

val digest : cmti -> digest

digest cmti is the digest of the module interface.

val deps : cmti -> dep list

deps cmti is the list of imported module interfaces with their digest, if known.

val path : cmti -> Fpath.t

path cmti is the file path to the cmti file.

Derived information

val to_cmi_dep : cmti -> dep

to_cmi_dep cmti is cmti as a dependency.

OCaml

Innovation. Community. Security.