package yocaml

  1. Overview
  2. Docs

Describes the low-level interface for reading a file and parsing its metadata described by the type t.

val read_file_with_metadata : (module Required.DATA_READABLE with type t = 'a) -> ?extraction_strategy:Metadata.extraction_strategy -> on:[ `Source | `Target ] -> Path.t -> ('a * string) Eff.t

The analogous function of Yocaml.Eff.read_file_with_metadata, not requiring a DATA_PROVIDER.

val read_file_as_metadata : (module Required.DATA_READABLE with type t = 'a) -> on:[ `Source | `Target ] -> Path.t -> 'a Eff.t

The analogous function of Yocaml.Eff.read_file_as_metadata, not requiring a DATA_PROVIDER.

OCaml

Innovation. Community. Security.