package yocaml

  1. Overview
  2. Docs

Describes the arrowized interface for reading a file and parsing its metadata.

val read_file_with_metadata : (module Required.DATA_READABLE with type t = 'a) -> ?extraction_strategy:Metadata.extraction_strategy -> Path.t -> (unit, 'a * string) Task.t

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

val read_file_as_metadata : (module Required.DATA_READABLE with type t = 'a) -> Path.t -> (unit, 'a) Task.t

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

OCaml

Innovation. Community. Security.