diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 061f3ef3..a6ae1ffb 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -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();