(config_path: &Path)
| 347 | // } |
| 348 | |
| 349 | fn load_stack_manifest(config_path: &Path) -> serde_yaml::Value { |
| 350 | if config_path.exists() { |
| 351 | let config_file = File::open(config_path).expect("Failed to open config file"); |
| 352 | let config: serde_yaml::Value = |
| 353 | serde_yaml::from_reader(config_file).expect("Failed to parse config file"); |
| 354 | return config; |
| 355 | } else { |
| 356 | error!("No stack configuration file found in: {:?}", config_path); |
| 357 | } |
| 358 | serde_yaml::Value::Null |
| 359 | } |
| 360 | |
| 361 | /// Inspects a software stack from a stack bundle. |
| 362 | /// |
no outgoing calls
no test coverage detected