imag/lib
Matthias Beyer b4f401675e Add Entries::into_storeid_iter()
This is a more complicated functionality (implementation-wise) of the
`Entries` iterator, which allows a callee to transform it into a
`StoreIdIterator`.

It uses the crate internal `PathIterator` type and a function to extract
the internals of that iterator which is then turned into an iterator
over `Result<StoreId>`, which can be used to build a `StoreIdIterator`.

The implementation is ugly, but we need to be able to transform a
`Entries` iterator into a `StoreIdIterator` in the
`libimagentryannotation`, and possibly in more cases where we want to be
agnostic over iterators.

Maybe there is a cleaner solution to this, hence the comment about
whether this should be removed.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-15 20:53:29 +01:00
..
core Add Entries::into_storeid_iter() 2019-02-15 20:53:29 +01:00
domain Fix libimagcontact for new StoreId interface with Entries iterator 2019-02-15 20:53:29 +01:00
entry Change signature: Link::exists(&Store) 2019-02-15 20:53:29 +01:00
etc Rewrite: StoreId::new_baseless() -> StoreId::new() 2019-02-15 20:53:28 +01:00