package ocp-ocamlres
Manipulation, injection and extraction of embedded resources
Install
Dune Dependency
Authors
Maintainers
Sources
v0.4.tar.gz
sha256=658c2990e027e1e43a16290fd431f08c96b8630d91ac2b98003a9bc027179679
md5=725eb557e659c6febf8dc3044b323bd8
doc/ocplib-ocamlres/OCamlResFormats/OCaml/argument-1-SF/index.html
Parameter OCaml.SF
val from_raw : OCamlRes.Path.t -> string -> t
A parser as used by the scanner to obtain the in-memory resources from files.
val to_raw : OCamlRes.Path.t -> t -> string
A dumper to reconstitute the files from the in-memory resources.
val pprint : OCamlRes.Path.t -> t -> PPrint.document
Takes the path to the resource in the resource tree, and its value to pretty print. Returns the OCaml representation of the value.
val pprint_header : OCamlRes.Path.t -> t -> PPrint.document option
Provides an optional piece of OCaml code to put before the resource store definition, for instance a type definition.
Provides an optional piece of OCaml code to put after the resource store definition, for instance a type definition.
val name : OCamlRes.Path.t -> t -> string
A name used to identify the subformat.
val type_name : OCamlRes.Path.t -> t -> string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>