Skip to main content

validate_profile_fields

Function validate_profile_fields 

Source
pub fn validate_profile_fields(text: &str, file: &Path) -> Result<(), String>
Expand description

The author commands use a closed top-level vocabulary. YAML diagnostics expose location, not the parsed scalar value; credential-like unsupported values are never echoed.