mache.spack.pins.validate_pins
- mache.spack.pins.validate_pins(pins)[source]
Check that pins have the expected structure and one ref per repository.
- Parameters:
pins (dict) – Pins in the
pins.yamlschema- Raises:
ValueError – If the structure is wrong or an entry does not have exactly one of
tag,commitandbranch