Searched refs:path_split (Results 1 – 2 of 2) sorted by relevance
17 let mut path_split: core::str::SplitN<&str> = path.trim_matches('/').splitn(2, "/"); in split_path() localVariable18 let comp = path_split.next().unwrap_or(""); in split_path()19 let rest_opt = path_split.next(); in split_path()28 let mut path_split: core::str::RSplitN<&str> = path.trim_matches('/').rsplitn(2, "/"); in rsplit_path() localVariable29 let comp = path_split.next().unwrap_or(""); in rsplit_path()30 let rest_opt = path_split.next(); in rsplit_path()
708 let path_split = path.split('/').filter(|&x| !x.is_empty()); in chdir() localVariable709 for seg in path_split { in chdir()