Struct conserve::live_tree::LiveTree
[−]
[src]
pub struct LiveTree { /* fields omitted */ }
A real tree on the filesystem, for use as a backup source or restore destination.
Methods
impl LiveTree
[src]
fn open<P: AsRef<Path>>(path: P, report: &Report) -> Result<LiveTree>
[src]
fn with_excludes(self, excludes: GlobSet) -> LiveTree
[src]
Return a new LiveTree which when listed will ignore certain files.
This replaces any previous exclusions.
Trait Implementations
impl Clone for LiveTree
[src]
fn clone(&self) -> LiveTree
[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 ReadTree for LiveTree
[src]
type E = Entry
type I = Iter
type R = File
fn iter_entries(&self) -> Result<Self::I>
[src]
Iterate source files descending through a source directory.
Visit the files in a directory before descending into its children, as is the defined order for files stored in an archive. Within those files and child directories, visit them according to a sorted comparison by their UTF-8 name.
The Iter
has its own Report
of how many directories and files were visited.