Function pact_models::pact::determine_spec_version[][src]

pub fn determine_spec_version(
    file: &str,
    metadata: &BTreeMap<String, BTreeMap<String, String>>
) -> PactSpecification
Expand description

Determines the Pact specification version from the metadata of the Pact file