Skip to main content

split

Function split 

Source
pub fn split<'a>(cfg: &Config, text: &'a str) -> Option<(&'a str, &'a str)>
Expand description

The remote a reference names, and the rest of the reference. A configured type name is never a remote, so adr:x/y stays a local id even with a remote called adr.