From 848577488e6098919dba1304560a7a6af1e403e6 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 31 May 2023 17:50:56 -0400 Subject: [PATCH] Add public config dir getter --- piker/config.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/piker/config.py b/piker/config.py index e2c63ea4..97989fe2 100644 --- a/piker/config.py +++ b/piker/config.py @@ -187,6 +187,15 @@ def _conf_fn_w_ext( return f'{name}.toml' +def get_conf_dir() -> Path: + ''' + Return the user configuration directory ``Path`` + on the local filesystem. + + ''' + return _config_dir + + def get_conf_path( conf_name: str = 'brokers',