aac_metrics.utils.globals module¶
- get_default_cache_path() str[source]¶
Returns the default cache directory path.
If
set_default_cache_path()has been used before with a string argument, it will return the value given to this function. Else if the environment variable AAC_METRICS_CACHE_PATH has been set to a string, it will return its value. Else it will be equal to “~/.cache” by default.
- get_default_java_path() str[source]¶
Returns the default java executable path.
If
set_default_java_path()has been used before with a string argument, it will return the value given to this function. Else if the environment variable AAC_METRICS_JAVA_PATH has been set to a string, it will return its value. Else it will be equal to “java” by default.
- get_default_tmp_path() str[source]¶
Returns the default temporary directory path.
If
set_default_tmp_path()has been used before with a string argument, it will return the value given to this function. Else if the environment variable AAC_METRICS_TMP_PATH has been set to a string, it will return its value. Else it will be equal to the value returned bygettempdir()by default.