RefInspector v0.13.0 RefInspector.Config

Utility module to simplify access to configuration values.

Summary

Functions

Returns the list of configured database files

Returns the configured database path or nil

Provides access to configuration values with optional environment lookup

Returns the remote urls of the database file

Functions

database_files()
database_files :: list

Returns the list of configured database files.

database_path()
database_path :: String.t | nil

Returns the configured database path or nil.

get(key, default \\ nil)
get(atom, term) :: term

Provides access to configuration values with optional environment lookup.

yaml_urls()
yaml_urls :: [String.t | {String.t, String.t}]

Returns the remote urls of the database file.