fn list_dir(dir: &openat::Dir) -> Vec<String> {
        dir.list_dir(".")
            .unwrap()
            .map(|entry| entry.unwrap().file_name().to_owned().into_string().unwrap())
            .collect()
    }
/// Returns an unsorted list of nodes in the given dir.
Returns an unsorted list of nodes in the given dir.
Returns an unsorted list of nodes in the given dir .
fn list_dir(dir: &openat::Dir) -> Vec<String> {
        dir.list_dir(".")
            .unwrap()
            .map(|entry| entry.unwrap().file_name().to_owned().into_string().unwrap())
            .collect()
    }
fn list_dir ( dir : & openat :: Dir ) -> Vec < String > { dir . list_dir ( " " ) . unwrap ( ) . map ( | entry | entry . unwrap ( ) . file_name ( ) . to_owned ( ) . into_string ( ) . unwrap ( ) ) . collect ( ) }
Returns an unsorted list of nodes in the given dir.
Returns an unsorted list of nodes in the given dir .
dir
&openat::Dir