Home
last modified time | relevance | path

Searched refs:get_path_sep (Results 1 – 3 of 3) sorted by relevance

/developtools/hdc/hdc_rust/src/common/
Dhdctransfer.rs116 if f.is_dir() && !transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
119 .push_str(Base::get_path_sep().to_string().as_str()); in check_local_path()
122 let mut op = _optional_name.replace('\\', Base::get_path_sep().to_string().as_str()); in check_local_path()
123 op = op.replace('/', Base::get_path_sep().to_string().as_str()); in check_local_path()
125 if op.contains(Base::get_path_sep()) && !transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
128 .push_str(Base::get_path_sep().to_string().as_str()); in check_local_path()
131 if transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
134 if transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
137 let last = transfer.local_path.rfind(Base::get_path_sep()); in check_local_path()
Dbase.rs73 pub fn get_path_sep() -> char { in get_path_sep() method
103 while len >= 0 && chars.clone().nth(len as usize) == Some(Self::get_path_sep()) { in get_file_name()
107 while len >= 0 && chars.clone().nth(len as usize) != Some(Self::get_path_sep()) { in get_file_name()
/developtools/hdc/hdc_rust/src/host/
Dclient.rs258 s.push(Base::get_path_sep()); in file_send_task()
293 s.push(Base::get_path_sep()); in app_install_task()