package oui

  1. Overview
  2. Docs
A tool that builds standalone installers for your OCaml applications

Install

dune-project
 Dependency

Authors

Maintainers

Sources

oui-0.1.0.tbz
sha256=b806a63c9acd581a00729a48f1faf86b294cc82936fc705fc628a20ede33f977
sha512=e61c35a6e08671634c1edabd7b0add926ac6e0c6c43c9e0a095e89efab7696b6ae5cc1ea0844283a80640c19adb36478bdfb2414bbcab5077ceb7fd16ae45e66

doc/oui.lib/Oui/Opam_conf_file/Conf/index.html

Module Opam_conf_file.ConfSource

Module that englobes config type and file primitives to read config file.

Sourcetype images = {
  1. ico : string option;
  2. dlg : string option;
  3. ban : string option;
}

Images files

Sourcetype t = {
  1. c_version : OpamVersion.t;
  2. c_wix_version : Wix.Version.t option;
  3. c_images : images;
  4. c_binary_path : string option;
  5. c_binary : string option;
  6. c_embedded : (string * string option) list;
  7. c_envvar : (string * string) list;
}

Content of config file

include OpamFile.IO_FILE with type t := t
Sourceval format_version : OpamVersion.t
Sourceval empty : t

Empty file

Sourceval write : t OpamFile.typed_file -> t -> unit

Write some contents to a file

Read file contents.

Sourceval read_opt : t OpamFile.typed_file -> t option

Returns None on non-existing file

Sourceval safe_read : t OpamFile.typed_file -> t

Read file contents. Return empty if the file does not exist.

Sourceval read_from_channel : ?filename:t OpamFile.typed_file -> in_channel -> t
Sourceval read_from_string : ?filename:t OpamFile.typed_file -> string -> t
Sourceval write_to_channel : ?filename:t OpamFile.typed_file -> out_channel -> t -> unit
Sourceval write_to_string : ?filename:t OpamFile.typed_file -> t -> string