Function git_ref::namespace::expand[][src]

pub fn expand<'a, Name, E>(namespace: Name) -> Result<Namespace, Error> where
    Name: TryInto<PartialNameRef<'a>, 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.