/// Appends path separator if the string doesn't end with one already
Appends path separator if the string doesn't end with one already
Appends path separator if the string doesn ' t end with one already
fn append_sep(s: String) -> String {
        if s.ends_with(MAIN_SEPARATOR) {
            s
        } else {
            s + MAIN_SEPARATOR.to_string().as_str()
        }
    }
fn append_sep ( s : String ) -> String { if s . ends_with ( MAIN_SEPARATOR ) { s } else { s + MAIN_SEPARATOR . to_string ( ) . as_str ( ) } }
Appends path separator if the string doesn't end with one already
Appends path separator if the string doesn ' t end with one already
s
String