Conform.Parse
This module is responsible for parsing *.conf files
Summary↑
file!(path) | Parse the file at the provided path as a .conf file, returning either the parsed terms, or raising a ParseError if parsing fails |
file(path) | Parse the file at the provided path as a .conf file. Returns {:ok, terms} | {:error, reason} |
parse!(binary) | Parse the provided binary as a .conf file, returning either the parsed terms, or raising a ParseError if parsing fails |
parse(binary) | Parse the provided binary as a .conf file. Returns {:ok, terms} | {:error, reason} |
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}
Specs:
- parse!(binary) :: term | no_return
Parse the provided binary as a .conf file, returning either the parsed terms, or raising a ParseError if parsing fails.