src/backup/chunk_store.rs: allow to read name()

This is helpful for logging ...
This commit is contained in:
Dietmar Maurer 2020-06-24 06:54:21 +02:00
parent e3efaa1972
commit 92c3fd2e22

View File

@ -429,6 +429,10 @@ impl ChunkStore {
full_path
}
pub fn name(&self) -> &str {
&self.name
}
pub fn base_path(&self) -> PathBuf {
self.base.clone()
}