package ocp-ocamlres

  1. Overview
  2. Docs

Input scanners definition and default implementations.

module PathFilter : sig ... end

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

module 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.

val 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.