Trait Entry
Source pub trait Entry {
Show 14 methods
// Required methods
fn file_path(&self) -> &Path;
fn file_name(&self) -> &OsStr;
fn file_depth(&self) -> usize;
fn zip_depth(&self) -> Option<usize>;
fn file_flags(&self) -> FileFlags;
fn read_sig(&self) -> Option<Signature>;
fn read_link(&self) -> MyResult<Option<PathBuf>>;
fn copy_metadata(&self, other: &dyn Entry);
fn reset_metadata(&self);
fn file_mode(&self) -> u32;
fn owner_uid(&self) -> uid_t;
fn owner_gid(&self) -> gid_t;
fn file_size(&self) -> u64;
fn file_time(&self) -> SystemTime;
}