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
1 changed files with 4 additions and 0 deletions

View File

@ -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()
} }