rebane ImageIndex to ImageIndexWriter

This commit is contained in:
Dietmar Maurer
2018-12-16 11:51:16 +01:00
parent 5e5b7f1c2d
commit 798881a68a
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ pub struct ImageIndexHeader {
// split image into fixed size chunks
pub struct ImageIndex<'a> {
pub struct ImageIndexWriter<'a> {
store: &'a mut ChunkStore,
chunk_size: usize,
size: usize,
@ -28,7 +28,7 @@ pub struct ImageIndex<'a> {
ctime: u64,
}
impl <'a> ImageIndex<'a> {
impl <'a> ImageIndexWriter<'a> {
pub fn create(store: &'a mut ChunkStore, path: &Path, size: usize) -> Result<Self, Error> {