Lines Matching refs:to_string
174 .push_str(Base::get_path_sep().to_string().as_str()); in check_local_path()
179 let mut op = _optional_name.replace('\\', Base::get_path_sep().to_string().as_str()); in check_local_path()
180 op = op.replace('/', Base::get_path_sep().to_string().as_str()); in check_local_path()
185 .push_str(Base::get_path_sep().to_string().as_str()); in check_local_path()
192 .replace('/', Base::get_path_sep().to_string().as_str()); in check_local_path()
197 op = op.as_str()[first_sep_index..].to_string(); in check_local_path()
224 … match create_dir_all_with_permission((transfer.local_path[0..index]).to_string(), 0o750) { in check_local_path()
360 crate::debug!("link to file:{}", p.display().to_string()); in is_dir_link()
387 crate::debug!("link to file:{}", p.display().to_string()); in is_file_access()
570 if is_dir_link(path.clone().display().to_string()) { in get_sub_files_resurively()
573 result.push(Base::normalized_path(path).display().to_string()); in get_sub_files_resurively()
575 let p = path.display().to_string(); in get_sub_files_resurively()
633 transfer::send_channel_msg(channel_id, echo_level, message.to_string()) in echo_client()