Store::config() added, mainly for debugging use
This commit is contained in:
parent
9f8a648600
commit
ad18091b88
1 changed files with 5 additions and 0 deletions
|
@ -240,6 +240,11 @@ impl Store {
|
||||||
Ok(store)
|
Ok(store)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Get the store configuration
|
||||||
|
pub fn config(&self) -> Option<&Value> {
|
||||||
|
self.configuration.as_ref()
|
||||||
|
}
|
||||||
|
|
||||||
fn storify_id(&self, id: StoreId) -> StoreId {
|
fn storify_id(&self, id: StoreId) -> StoreId {
|
||||||
debug!("Create new store id out of: {:?} and {:?}", self.location, id);
|
debug!("Create new store id out of: {:?} and {:?}", self.location, id);
|
||||||
let mut new_id = self.location.clone();
|
let mut new_id = self.location.clone();
|
||||||
|
|
Loading…
Reference in a new issue