mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-29 21:41:30 +02:00
hide private func
This commit is contained in:
parent
85fb7389af
commit
b8089f8d58
@ -10,7 +10,7 @@ use crate::exit_codes::ExitCode;
|
|||||||
use crate::filesystem::strip_current_dir;
|
use crate::filesystem::strip_current_dir;
|
||||||
use crate::options::Options;
|
use crate::options::Options;
|
||||||
|
|
||||||
pub fn replace_path_separator(path: &str, new_path_separator: &str) -> String {
|
fn replace_path_separator(path: &str, new_path_separator: &str) -> String {
|
||||||
path.replace(std::path::MAIN_SEPARATOR, &new_path_separator)
|
path.replace(std::path::MAIN_SEPARATOR, &new_path_separator)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user