Trait conserve::Entry [] [src]

pub trait Entry {
    fn kind(&self) -> Kind;
fn apath(&self) -> Apath;
fn unix_mtime(&self) -> Option<u64>;
fn symlink_target(&self) -> Option<String>; }

A file, directory, or symlink stored in any tree.

To get the contents of a plain file, use ReadTree::file_contents.

Required Methods

Return apath relative to the top of the tree.

Return Unix-format mtime if known.

Target of the symlink, if this is a symlink.

Implementors