View Source Exshome.FileUtils (Exshome - Elixir Smart Home v0.1.7)

Module responsible for working with file utilities.

Link to this section Summary

Functions

Returns the folder for data. Creates parent folders. Raises if folder name is incorrect.

Root data folder. It stores all user data.

Link to this section Functions

Link to this function

get_of_create_folder!(folder)

View Source
@spec get_of_create_folder!(folder :: String.t()) :: String.t()

Returns the folder for data. Creates parent folders. Raises if folder name is incorrect.

@spec root_folder() :: String.t()

Root data folder. It stores all user data.