package ocp-ocamlres

  1. Overview
  2. Docs
Manipulation, injection and extraction of embedded resources

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.tar.gz
sha256=658c2990e027e1e43a16290fd431f08c96b8630d91ac2b98003a9bc027179679
md5=725eb557e659c6febf8dc3044b323bd8

doc/ocplib-ocamlres/OCamlResRegistry/module-type-Format/index.html

Module type OCamlResRegistry.FormatSource

The type of format plug-ins. Differs from OCamlResFormats.Format since it is dedicated to be used by the command line tool. For this, the parameters are provided not as a data type but as a list of command line args that can mutate global references, which can then be read from the output function. This is because parameters come from the user, not the programmer. Also, the tool is dedicated to use with the filesystem, so the type of data is fixed to strings representing the raw encoding of data.

Sourceval output : string OCamlRes.Res.root -> unit

Leaves are raw data strings

A short dexcription for the help page

Sourceval info : string

A short dexcription for the help page

The list of specific arguments, that are parsed before any call to output

Sourceval options : (Arg.key * Arg.spec * Arg.doc) list

The list of specific arguments, that are parsed before any call to output

OCaml

Innovation. Community. Security.