package odig

  1. Overview
  2. Docs

cmi files.

Cmi

type t = cmi

The type for cmi files.

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

read f reads a cmi file from f.

val name : cmi -> string

name cmi is the name of the module interface.

val digest : cmi -> digest

digest cmi is the digest of the module interface.

val deps : cmi -> dep list

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

val path : cmi -> Fpath.t

path cmi is the file path to the cmi file.

Derived information

val to_cmi_dep : cmi -> dep

to_cmi_dep cmi is cmi as a dependency.

OCaml

Innovation. Community. Security.