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

Function xdg_config_dir_respects_env

crates/openshell-core/src/paths.rs:163–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162 #[test]
163 fn xdg_config_dir_respects_env() {
164 // This test checks the logic — actual env var mutation is unsafe so
165 // we rely on the integration tests in openshell-bootstrap for full
166 // round-trip testing.
167 let result = xdg_config_dir();
168 assert!(result.is_ok());
169 }
170
171 #[test]
172 fn openshell_config_dir_appends_openshell() {

Callers

nothing calls this directly

Calls 1

xdg_config_dirFunction · 0.70

Tested by

no test coverage detected