Struct conserve::Band
[−]
[src]
pub struct Band { /* fields omitted */ }
All backup data is stored in a band.
Methods
impl Band
[src]
fn create(archive: &Archive) -> Result<Band>
[src]
Make a new band (and its on-disk directory).
The Band gets the next id after those that already exist.
fn close(self: &Band, report: &Report) -> Result<()>
[src]
Mark this band closed: no more blocks should be written after this.
fn open(archive: &Archive, band_id: &BandId) -> Result<Band>
[src]
Open a given band, or by default the latest complete backup in the archive.
fn is_closed(self: &Band) -> Result<bool>
[src]
fn path(self: &Band) -> &Path
[src]
fn id(self: &Band) -> BandId
[src]
fn block_dir(self: &Band) -> BlockDir
[src]
fn index_builder(self: &Band) -> IndexBuilder
[src]
fn index_iter(&self, excludes: &GlobSet, report: &Report) -> Result<Iter>
[src]
Make an iterator that will return all entries in this band.
fn get_info(&self, report: &Report) -> Result<Info>
[src]
Return info about the state of this band.