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

Function system_config_dir

crates/openshell-bootstrap/src/paths.rs:77–79  ·  view source on GitHub ↗

Read-only system-level `OpenShell` config root. Uses `OPENSHELL_SYSTEM_GATEWAY_DIR` when set; otherwise falls back to `/etc/openshell`.

()

Source from the content-addressed store, hash-verified

75/// Uses `OPENSHELL_SYSTEM_GATEWAY_DIR` when set; otherwise falls back to
76/// `/etc/openshell`.
77pub fn system_config_dir() -> PathBuf {
78 system_config_dir_override().unwrap_or_else(|| PathBuf::from(DEFAULT_SYSTEM_CONFIG_DIR))
79}
80
81/// Read-only system-level gateway metadata directory.
82pub fn system_gateways_dir() -> PathBuf {

Callers 2

system_gateways_dirFunction · 0.85

Calls 1

Tested by

no test coverage detected