# `Skogsra.Cache`
[🔗](https://github.com/gmtprime/skogsra/blob/v2.5.2/lib/skogsra/cache.ex#L1)

This module defines the helpers for the variable cache. The cache works with
persistent terms.

# `get_env`

```elixir
@spec get_env(Skogsra.Env.t()) :: {:ok, term()} | :error
```

Gets a variable value `env` from the cache.

# `put_env`

```elixir
@spec put_env(Skogsra.Env.t(), term()) :: :ok
```

Stores a variable `env` in a persistent term.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
