gix_ref::namespace

Function expand

Source
pub fn expand<'a, Name, E>(namespace: Name) -> Result<Namespace, Error>
where Name: TryInto<&'a PartialNameRef, Error = E>, Error: From<E>,
Expand description

Given a namespace ’foo we output ‘refs/namespaces/foo’, and given ‘foo/bar’ we output ‘refs/namespaces/foo/refs/namespaces/bar’.

For more information, consult the git namespace documentation.