Skip to main content

validate_attr_pathspecs

Function validate_attr_pathspecs 

Source
pub fn validate_attr_pathspecs(specs: &[String]) -> Result<(), String>
Expand description

Validate :(attr:...) pathspec magic in specs.

Returns Ok(()) when all attribute magic is parseable. Returns a Git-style error string for unsupported or malformed attribute magic.