Skip to main content

Module config_path

Module config_path 

Source
Expand description

Discovery of the global and local config directories. Owned here so format.rs and keys.rs don’t drift on path logic.

Enums§

ConfigSource
Source layer a piece of config came from. Embedded in compiled LogFormat and Group entries so --list-formats can annotate them.

Functions§

global_config_dir
Resolve the global config directory.
user_config_dir
Resolve the per-user config directory (~/.config/tess). Returns None if $HOME is not set.