package yocaml_yaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

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

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

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

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

OCaml

Innovation. Community. Security.