diff --git a/lib/core/libimagstore/src/storeid.rs b/lib/core/libimagstore/src/storeid.rs index ddb1443e..2f2bf723 100644 --- a/lib/core/libimagstore/src/storeid.rs +++ b/lib/core/libimagstore/src/storeid.rs @@ -266,6 +266,10 @@ impl StoreIdIterator { StoreIdIterator { iter } } + pub fn with_store<'a>(self, store: &'a Store) -> StoreIdIteratorWithStore<'a> { + StoreIdIteratorWithStore(self, store) + } + } impl Iterator for StoreIdIterator {