gix_refspec

Function parse

Source
pub fn parse(spec: &BStr, operation: Operation) -> Result<RefSpecRef<'_>, Error>
Expand description

Parse spec for use in operation and return it if it is valid.