snowhite v1.1.1 Snowhite.Helpers.Path View Source

Link to this section Summary

Functions

Gets the priv path for a given application. It can also support a list of folder to build the path

Link to this section Functions

Link to this function

priv_path(app, path \\ [])

View Source

Specs

priv_path(atom(), [String.t()]) :: String.t()

Gets the priv path for a given application. It can also support a list of folder to build the path

Examples

iex> priv_path(:snowhite, ["dets"])
"/path/of/snowhite/priv