public static String getRelativeRef ( String ref ) { Matcher matcher = match ( ref ) ; return matcher != null ? String . format ( "/%s/%s" , matcher . group ( 1 ) , matcher . group ( 2 ) ) : null ; }
Create a relative ref url from the specified ref