derive Clone for the LocalChunkReader
this will be necessary for accessing local pxar behind didx files Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
4cf0ced950
commit
e44fe0c9f5
|
@ -17,6 +17,7 @@ pub trait ReadChunk {
|
|||
fn read_chunk(&mut self, digest: &[u8; 32]) -> Result<Vec<u8>, Error>;
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct LocalChunkReader {
|
||||
store: Arc<DataStore>,
|
||||
crypt_config: Option<Arc<CryptConfig>>,
|
||||
|
|
Loading…
Reference in New Issue