Skip to main content

resolve_workload

Function resolve_workload 

Source
pub fn resolve_workload(name: &str) -> Result<ResolvedWorkload, String>
Expand description

Resolve a workload= value per SRD-85 nearest-first: local files first (exact path, extension probing, cwd workloads/), then the bundled catalog by exact name. A name that resolves both ways FAVORS the logical filesystem location and logs a warning naming both — shadowing is allowed but never silent. ./-prefixed paths pin the local reading without a warning.