package stitch

  1. Overview
  2. Docs
type t

Type of stitch configuration

val make : ?recording_dir:string -> unit -> t

Return a new config. recording_dir is the directory to which the recording files will be saved. It must either be an existing directory or a valid directory name in an existing directory. Recording is disabled if recording_dir is None.

val from_env : unit -> t

Return a config which field are set according to the following env variables:

  • STITCH_OCAML_RECORDING_DIR: recording_dir, do not record calls if unset
OCaml

Innovation. Community. Security.