summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-01-05 01:31:31 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-02-09 01:03:28 +0100
commitafe275692eae6bc64e16e52d58457c7ea12febc0 (patch)
tree71ee4b4528c942cefb6abe7105ba21326d3742ba
parentb010d69e62eb051ac088a683cc2087e3dbb0e2e4 (diff)
Fix: Do not use deprecated StoreId::exists() function
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--lib/entry/libimagentrycategory/src/store.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/entry/libimagentrycategory/src/store.rs b/lib/entry/libimagentrycategory/src/store.rs
index 8a3ba6dc..e05e8230 100644
--- a/lib/entry/libimagentrycategory/src/store.rs
+++ b/lib/entry/libimagentrycategory/src/store.rs
@@ -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| {