pub fn validate_apt_packages(
packages: Vec<String>,
) -> Result<Vec<String>, RuntimeSpecError>Expand description
Validate apt package names from a workspace manifest.
§Arguments
packages- Package names requested byruntime.apt.
§Returns
Trimmed package names in input order.
§Errors
Returns RuntimeSpecError::EmptyAptPackage for a blank package or
RuntimeSpecError::InvalidAptPackage when a package contains shell metacharacters.