Struct conserve::live_tree::Entry
[−]
[src]
pub struct Entry { pub apath: Apath, pub path: PathBuf, pub metadata: Metadata, }
An entry in a live tree, describing a real file etc on disk.
Fields
apath: Apath
Conserve apath, relative to the top-level directory.
path: PathBuf
Possibly absolute path through which the file can be opened.
metadata: Metadata
stat-like structure including kind, mtime, etc.
Trait Implementations
impl Clone for Entry
[src]
fn clone(&self) -> Entry
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Entry for Entry
[src]
fn apath(&self) -> Apath
[src]
Return apath relative to the top of the tree.
fn kind(&self) -> Kind
[src]
fn unix_mtime(&self) -> Option<u64>
[src]
Return Unix-format mtime if known.
fn symlink_target(&self) -> Option<String>
[src]
Target of the symlink, if this is a symlink.