package opam-format

  1. Overview
  2. Docs

doc/opam-format/OpamFile/Environment/index.html

Module OpamFile.EnvironmentSource

Cached environment updates (<switch>/environment)

include IO_FILE with type t = (OpamTypes.spf_resolved, OpamTypes.euok_writeable) OpamTypes.env_update list
Sourceval format_version : OpamVersion.t
Sourceval empty : t

Empty file

Sourceval write : t typed_file -> t -> unit

Write some contents to a file

Sourceval write_to_channel : ?filename:t typed_file -> out_channel -> t -> unit
Sourceval write_to_string : ?filename:t typed_file -> t -> string
Sourceval read_from_string : ?filename:t typed_file -> string -> (OpamTypes.spf_resolved, [> OpamTypes.euok_writeable ]) OpamTypes.env_update list
OCaml

Innovation. Community. Security.