Struct conserve::BlockDir [] [src]

pub struct BlockDir {
    pub path: PathBuf,
    // some fields omitted
}

A readable, writable directory within a band holding data blocks.

Fields

Methods

impl BlockDir
[src]

Create a BlockDir accessing path, which must exist as a directory.

True if the named block is present in this directory.

Read back the contents of a block, as a byte array.

TODO: Return a Read rather than a Vec.