muse2::input::process::flowFunction validate_flows
Source fn validate_flows(flows: &HashMap<Rc<str>, Vec<ProcessFlow>>) -> Result<()>
Expand description
Validate that no process has multiple flows for the same commodity.
§Arguments
flows
- A map of process IDs to process flows
§Returns
An Ok(())
if the check is successful, or an error.