Lines Matching defs:new
91 pub fn new(_session_id: u32, _channel_id: u32) -> Self {
98 remote_path: String::new(),
99 base_local_path: String::new(),
100 local_path: String::new(),
101 local_tar_raw_path: String::new(),
103 task_queue: Vec::<String>::new(),
104 local_name: String::new(),
116 empty_dirs: String::new(),
118 command_str: String::new(),
127 fs::set_permissions(std::path::Path::new(&path), perms)
147 let mut dir_path = std::path::Path::new(&path);
280 let thread_path_ref = Arc::new(Mutex::new(local_path));
291 payload: Vec::new(),
428 let mut queue = VecDeque::new();
504 let open_result = OpenOptions::new()
567 let mut result = Vec::new();
650 let mut data = Vec::<u8>::new();