package mirage

  1. Overview
  2. Docs

Implementatin of the Fat filesystem.

Signature for configurable devices.

type t

Abstract type for configurable devices.

val name : t -> string

Return the unique variable name holding the state of the given device.

val module_name : t -> string

Return the name of the module implementing the given device.

val packages : t -> string list

Return the list of OPAM packages which needs to be installed to use the given device.

val libraries : t -> string list

Return the list of ocamlfind libraries to link with the application to use the given device.

val configure : t -> unit

Configure the given device.

val clean : t -> unit

Clean all the files generated to use the given device.

val update_path : t -> string -> t

update_path t root prefixes all the path appearing in t with the the prefix root.

OCaml

Innovation. Community. Security.