Struct conserve::StoredTree
[−]
[src]
pub struct StoredTree { /* fields omitted */ }
Read index and file contents for a version stored in the archive.
Methods
impl StoredTree
[src]
fn open_last(archive: &Archive) -> Result<StoredTree>
[src]
Open the last complete version in the archive.
fn open_version(archive: &Archive, band_id: &BandId) -> Result<StoredTree>
[src]
Open a specified version.
It's an error if it's not complete.
fn open_incomplete_version(
archive: &Archive,
band_id: &BandId
) -> Result<StoredTree>
[src]
archive: &Archive,
band_id: &BandId
) -> Result<StoredTree>
Open a specified version.
This function allows opening incomplete versions, which might contain only a partial copy of the source tree, or maybe nothing at all.
fn with_excludes(self, excludes: GlobSet) -> StoredTree
[src]
fn band(&self) -> &Band
[src]
fn archive(&self) -> &Archive
[src]
fn is_closed(&self) -> Result<bool>
[src]
Trait Implementations
impl Debug for StoredTree
[src]
impl ReadTree for StoredTree
[src]
type E = IndexEntry
type I = Iter
type R = StoredFile
fn iter_entries(&self) -> Result<Iter>
[src]
Return an iter of index entries in this stored tree.