Yamel.IO (yamel v2.0.4) View Source

Module to work with YAML files in Elixir.

Link to this section Summary

Link to this section Functions

Specs

read(file_path :: binary()) ::
  {:ok, map() | list()} | {:error, reason :: binary()}

Specs

read!(file_path :: binary()) :: map() | list()
Link to this function

write(yaml_string, file_path)

View Source

Specs

write(yaml_string :: binary(), file_path :: binary()) ::
  :ok | {:error, reason :: binary()}
Link to this function

write!(yaml_string, file_path)

View Source

Specs

write!(yaml_string :: binary(), file_path :: binary()) :: :ok