Read-only system-level `OpenShell` config root. Uses `OPENSHELL_SYSTEM_GATEWAY_DIR` when set; otherwise falls back to `/etc/openshell`.
()
| 75 | /// Uses `OPENSHELL_SYSTEM_GATEWAY_DIR` when set; otherwise falls back to |
| 76 | /// `/etc/openshell`. |
| 77 | pub 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. |
| 82 | pub fn system_gateways_dir() -> PathBuf { |
no test coverage detected