conform v1.0.0-rc8 Conform.Parse
This module is responsible for parsing *.conf files
Summary
Functions
Parse the file at the provided path as a .conf file. Returns {:ok, terms} | {:error, reason}
Parse the file at the provided path as a .conf file, returning either the parsed terms, or raising a ParseError if parsing fails
Parse the provided binary as a .conf file. Returns {:ok, terms} | {:error, reason}
Parse the provided binary as a .conf file, returning either the parsed terms, or raising a ParseError if parsing fails
Functions
Specs
file(binary) :: {:ok, term} | {:error, term}
Parse the file at the provided path as a .conf file. Returns {:ok, terms} | {:error, reason}
Specs
file!(binary) :: term | no_return
Parse the file at the provided path as a .conf file, returning either the parsed terms, or raising a ParseError if parsing fails.
Specs
parse(binary) :: {:ok, term} | {:error, term}
Parse the provided binary as a .conf file. Returns {:ok, terms} | {:error, reason}