1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use super::{Store, StoreError};

pub struct FlatFileStore {}

impl FlatFileStore {
    pub fn open(_path: &str) -> Result<FlatFileStore, StoreError> {
        Ok(FlatFileStore {})
    }
}

impl Store for FlatFileStore {
    fn list(&self, _archive: u8) -> Result<Vec<u32>, StoreError> {
        todo!()
    }

    fn read(&self, _archive: u8, _group: u32) -> Result<Vec<u8>, StoreError> {
        todo!()
    }
}