Skip to main content

reverse_name

Function reverse_name 

Source
pub fn reverse_name(name: &str) -> String
Expand description

Interscript::Node::Document.reverse_name: split on -, swap positions 2/3 (source/target code) when there are at least 4 segments; otherwise strip a -reverse suffix, otherwise append one.