Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dir ¶
func Dir() string
Dir returns the path to the thelma installation root. It will be: * If THELMA_ROOT env var is set, it will be $THELMA_ROOT * If a valid home directory exists for current user, it will be $HOME/.thelma * Else, /tmp/.thelma.<pid> (worst-case fallback option in weird environments) Note that this function identifies the root directory path, but does NOT create the root directory; it may or may not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.