diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-01-05 01:31:31 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-02-09 01:03:28 +0100 |
commit | afe275692eae6bc64e16e52d58457c7ea12febc0 (patch) | |
tree | 71ee4b4528c942cefb6abe7105ba21326d3742ba | |
parent | b010d69e62eb051ac088a683cc2087e3dbb0e2e4 (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.rs | 2 |
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| { |