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 : ?prefilter:PathFilter.t -> ?postfilter:bytes ResFilter.t -> string -> bytes OCamlRes.Res.node list

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

OCaml

Innovation. Community. Security.