MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _xdg_config_home

Function _xdg_config_home

python/openshell/sandbox.py:828–832  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

826
827
828def _xdg_config_home() -> pathlib.Path:
829 configured = os.environ.get("XDG_CONFIG_HOME")
830 if configured:
831 return pathlib.Path(configured)
832 return pathlib.Path.home() / ".config"
833
834
835# Re-check the cached token roughly 30 seconds before the issuer's

Callers 2

from_active_clusterMethod · 0.70
_resolve_active_clusterFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected