(
config: PluginConfig,
report: ConfigReport,
registrations: Vec<PluginRegistration>,
)
| 1310 | } |
| 1311 | |
| 1312 | fn store_active_plugin_configuration( |
| 1313 | config: PluginConfig, |
| 1314 | report: ConfigReport, |
| 1315 | registrations: Vec<PluginRegistration>, |
| 1316 | ) -> Result<()> { |
| 1317 | let mut guard = ACTIVE_PLUGIN_CONFIGURATION.lock().map_err(|err| { |
| 1318 | PluginError::Internal(format!("active plugin configuration lock poisoned: {err}")) |
| 1319 | })?; |
| 1320 | *guard = Some(ActivePluginConfiguration { |
| 1321 | config, |
| 1322 | report, |
| 1323 | registrations, |
| 1324 | }); |
| 1325 | Ok(()) |
| 1326 | } |
| 1327 | |
| 1328 | fn plugin_component_totals(config: &PluginConfig) -> HashMap<&str, usize> { |
| 1329 | let mut totals = HashMap::new(); |
no outgoing calls
no test coverage detected