package hl_yaml

  1. Overview
  2. Docs

Module Hl_yaml.UnixSource

Sourcetype filepath
Sourcetype options = {
  1. get_env_var : string -> string option;
  2. get_file : filepath -> string;
  3. config_path_filter_map : string -> string;
  4. file_path_filter_map : string -> string;
  5. allow_unused_anchors : bool;
  6. allow_redefining_anchors : bool;
  7. enable_includes : bool;
  8. enable_conditional_includes : bool;
  9. enable_imports : bool;
  10. process_scalar_tag : tag:string -> string -> [ `Scalar of string | `YAML of Yaml.yaml ] option;
}
Sourceval default_options : options
Sourceval make_options : ?get_env_var:(string -> string option) -> ?get_file:(filepath -> string) -> ?config_path_filter_map:(string -> string) -> ?file_path_filter_map:(string -> string) -> ?enable_includes:bool -> ?enable_conditional_includes:bool -> ?enable_imports:bool -> ?allow_unused_anchors:bool -> ?allow_redefining_anchors:bool -> ?process_scalar_tag: (tag:string -> string -> [ `Scalar of string | `YAML of Yaml.yaml ] option) -> unit -> options
Sourceval ok_or_raise : ('a, Spec.error list) result -> 'a
Sourcemodule JSON : sig ... end
Sourcemodule YAML : sig ... end
Sourcemodule Spec : sig ... end
Sourceexception HL_YAML_error of string
Sourceval parse : ?options:options -> ?validate:Spec.t -> of_yojson:(Yojson.Safe.t -> ('a, string) result) -> string -> ('a, Spec.error list) result
OCaml

Innovation. Community. Security.