remove unnessary pub
This commit is contained in:
@@ -130,11 +130,11 @@ pub fn remove_start_end_slash(s: &str) -> String {
|
||||
let mut ss = s;
|
||||
while ss.starts_with("/") {
|
||||
ss = &ss[1..]
|
||||
}
|
||||
while ss.ends_with("/") {
|
||||
}
|
||||
while ss.ends_with("/") {
|
||||
ss = &ss[0..(ss.len() - 1)];
|
||||
}
|
||||
ss.to_string()
|
||||
}
|
||||
ss.to_string()
|
||||
}
|
||||
|
||||
pub fn parse_config(config_json: &json::JsonValue) -> OSSBackupdConfig {
|
||||
|
||||
Reference in New Issue
Block a user