(config_dir: &Path, name: &str)
| 111 | } |
| 112 | |
| 113 | fn write_active_gateway(config_dir: &Path, name: &str) { |
| 114 | let active_path = config_dir.join("openshell").join("active_gateway"); |
| 115 | fs::create_dir_all(active_path.parent().expect("active gateway parent")) |
| 116 | .expect("create active gateway parent"); |
| 117 | fs::write(active_path, format!("{name}\n")).expect("write active gateway"); |
| 118 | } |
| 119 | |
| 120 | fn seed_gateway_sources(config_dir: &Path, system_dir: &Path) { |
| 121 | write_user_gateway_metadata( |
no outgoing calls
no test coverage detected