Conform.Translate

This module is responsible for translating either from .conf -> .config or from .schema.exs -> .conf

Summary

to_conf(schema)

Translate the provided schema to it’s default .conf representation

to_config(config, conf, schema)

Translate the provided .conf to it’s .config representation using the provided schema

Functions

to_conf(schema)

Specs:

  • to_conf([{atom, term}]) :: binary

Translate the provided schema to it’s default .conf representation

to_config(config, conf, schema)

Specs:

  • to_config([{term, term}] | [], [{term, term}] | [], [{term, term}]) :: term

Translate the provided .conf to it’s .config representation using the provided schema.