Fix: Do not use deprecated StoreId::exists() function

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-01-05 01:31:31 +01:00
parent b010d69e62
commit afe275692e

View file

@ -223,7 +223,7 @@ fn mk_category_storeid(base: PathBuf, s: &str) -> Result<StoreId> {
#[inline]
fn represents_category(store: &Store, sid: StoreId, name: &str) -> Result<bool> {
sid.exists()
store.exists(sid.clone())
.context(err_msg("Store id handling error"))
.map_err(Error::from)
.and_then(|bl| {