Function gix_refspec::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.
pub fn parse(spec: &BStr, operation: Operation) -> Result<RefSpecRef<'_>, Error>
Parse spec
for use in operation
and return it if it is valid.