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