File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -1938,29 +1938,6 @@ fn read_item(entry: fs::DirEntry) -> ItemInfo {
19381938 }
19391939}
19401940
1941- /// Generate item information from trash directory, in order to use when redoing.
1942- // pub fn sellect_buffer(trash_dir: &PathBuf, vec: &[ItemBuffer]) -> Result<Vec<ItemBuffer>, FxError> {
1943- // let total = vec.len();
1944- // let mut count = 0;
1945- // let mut result = Vec::new();
1946- // for entry in fs::read_dir(trash_dir)? {
1947- // let entry = entry?;
1948- // if vec
1949- // .iter()
1950- // .map(|x| x.file_path.clone())
1951- // .collect::<Vec<PathBuf>>()
1952- // .contains(&entry.path())
1953- // {
1954- // result.push(ItemBuffer::new(&read_item(entry)));
1955- // count += 1;
1956- // if count == total {
1957- // break;
1958- // }
1959- // }
1960- // }
1961- // Ok(result)
1962- // }
1963-
19641941/// Check if zoxide is installed.
19651942fn check_zoxide ( ) -> bool {
19661943 std:: process:: Command :: new ( "zoxide" )
You can’t perform that action at this time.
0 commit comments