src/backup/chunk_store.rs: allow to read name()
This is helpful for logging ...
This commit is contained in:
parent
e3efaa1972
commit
92c3fd2e22
|
@ -429,6 +429,10 @@ impl ChunkStore {
|
||||||
full_path
|
full_path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn name(&self) -> &str {
|
||||||
|
&self.name
|
||||||
|
}
|
||||||
|
|
||||||
pub fn base_path(&self) -> PathBuf {
|
pub fn base_path(&self) -> PathBuf {
|
||||||
self.base.clone()
|
self.base.clone()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue