Function workerlib::lorry_specs::extract_lorry_specs
source · pub fn extract_lorry_specs<S: AsRef<str>>(
s: S
) -> Result<BTreeMap<String, LorrySpec>, Error>
Expand description
Attempts to convert a string-like, presumably the contents of a .lorry
file, into the internal representation of a lorry spec.
This spec object can then be passed to mirror
.