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:
parent
78a1fa6722
commit
af6f80d3db
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user