tlcconfig.default_locations¶
Getters for default locations for 3LC directories.
Module Contents¶
Functions¶
Function |
Description |
|---|---|
Return the default config file directory. |
|
Return the default log root directory. |
|
Return the default root directory. |
|
Data¶
Data |
Description |
|---|---|
API¶
- TLC_DEFAULT_ROOT_DIR_ENV = get(...)¶
- get_default_config_dir() str¶
Return the default config file directory.
This function is platform dependent, and the default is platform dependent:
Linux:
$HOME/.config/3LCor$XDG_CONFIG_HOME/3LCmacOS:
$HOME/Library/Application Support/3LCWindows:
%LOCALAPPDATA%\3LC\3LC
- Returns:
The default config file directory.
- get_default_log_dir() str¶
Return the default log root directory.
This function is platform dependent, and the default is platform dependent:
Linux:
$HOME/.local/state/3LC/logor$XDG_STATE_HOME/3LC/logmacOS:
$HOME/Library/Logs/3LC/LogsWindows:
%LOCALAPPDATA%\3LC\3LC\Logs
- Returns:
The default log root directory.
- get_default_root_dir() str¶
Return the default root directory.
This directory has a “projects” subdir that contains 3LC projects. This function is platform dependent, and the default is platform dependent:
Linux:
$HOME/.local/share/3LC/or$XDG_DATA_HOME/3LC/macOS:
$HOME/Library/Application Support/3LC/Windows:
%LOCALAPPDATA%\3LC\3LC\
- Returns:
The default root directory.