Fix: Do not use deprecated StoreId::exists() function
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
b010d69e62
commit
afe275692e
1 changed files with 1 additions and 1 deletions
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue