use std::ffi::OsString;
use std::path::PathBuf;
#[derive(Debug, Clone)]
pub struct DirEntry {
pub path: PathBuf,
pub file_name: OsString,
pub is_file: bool,
pub is_dir: bool,
pub is_symlink: bool,
}
#[derive(Debug, Clone)]
pub struct FileMeta {
pub path: PathBuf,
pub len: u64,
pub created: Option<std::time::SystemTime>,
pub modified: Option<std::time::SystemTime>,
pub is_file: bool,
pub is_dir: bool,
pub is_symlink: bool,
}