Merge pull request #276 from matthiasbeyer/libimagstore/config-getter

Store::config() added, mainly for debugging use
This commit is contained in:
Matthias Beyer 2016-03-26 13:55:11 +01:00
commit 93d7b81dc5

View file

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