Add public config dir getter
parent
e82538eded
commit
848577488e
|
@ -187,6 +187,15 @@ def _conf_fn_w_ext(
|
||||||
return f'{name}.toml'
|
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(
|
def get_conf_path(
|
||||||
conf_name: str = 'brokers',
|
conf_name: str = 'brokers',
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue