Nerves.Env.data_dir
You're seeing just the function
data_dir
, go back to Nerves.Env module for more information.
Specs
data_dir() :: path :: String.t()
The location for storing global nerves data.
The base directory is normally set by the XDG_DATA_HOME
environment variable (i.e. $XDG_DATA_HOME/nerves/
).
If XDG_DATA_HOME
is unset, the user's home directory
is used (i.e. $HOME/.nerves
).