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/OCamlResScanners/index.html

Module OCamlResScannersSource

Input scanners definition and default implementations.

Sourcemodule PathFilter : sig ... end

Predicates for filtering paths. Used to select the files and dirs to be scanned.

Sourcemodule ResFilter : sig ... end

Predicates for Filtering a resource store. * Used after importing resources from the filesystem. More expressive * than path filters since they operate on the already parsed tree but * cannot prevent the reading of unnecessary files.

Sourceval scan_unix_dir : ?prefilter:PathFilter.t -> ?postfilter:'a ResFilter.t -> ?prefixed_file:bool -> (module OCamlResSubFormats.SubFormat with type t = 'a) -> string -> 'a OCamlRes.Res.root

Import the files from a base directory as a resource store root.

OCaml

Innovation. Community. Security.