Revert "backup/datastore: fn open is a private implementation detail"

This reverts commit 3dacd9a660.

I currently use this in some test ...
This commit is contained in:
Dietmar Maurer 2019-02-14 13:13:49 +01:00
parent 78a1fa6722
commit af6f80d3db

View File

@ -67,7 +67,7 @@ impl DataStore {
bail!("store not found"); bail!("store not found");
} }
fn open(store_name: &str) -> Result<Self, Error> { pub fn open(store_name: &str) -> Result<Self, Error> {
let config = datastore::config()?; let config = datastore::config()?;
let (_, store_config) = config.sections.get(store_name) let (_, store_config) = config.sections.get(store_name)