Skogsrå v2.3.1 Skogsra.Core View Source
This module defines the core API for Skogsra.
Link to this section Summary
Functions
Gets the value of a given env
.
Gets the value of a given env
. Fails on error.
Puts a new value for an env
.
Reloads an env
variable.
Link to this section Functions
Link to this function
get_env(env)
View Sourceget_env(Skogsra.Env.t()) :: {:ok, term()} | {:error, binary()}
Gets the value of a given env
.
Gets the value of a given env
. Fails on error.
Link to this function
put_env(env, value)
View Sourceput_env(Skogsra.Env.t(), term()) :: :ok | {:error, binary()}
Puts a new value for an env
.
Link to this function
reload_env(env)
View Sourcereload_env(Skogsra.Env.t()) :: {:ok, term()} | {:error, binary()}
Reloads an env
variable.