imag/lib
Matthias Beyer 84135b1961 Add Entries::{find_by_id_substr, find_by_id_startswith}
This patch adds functions to the Entries type which can be used for
filtering by id, either with `contains()` or `starts_with()`.

This is useful for the end-user functionality where the user specifies
the ID of an entry only partially.

The implementation still iterates over all entries. This could be
improved, of course, by implementing a `find`-like function on `Store`
directly. But for now, this is good enough.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-09-01 13:36:39 +02:00
..
core Add Entries::{find_by_id_substr, find_by_id_startswith} 2019-09-01 13:36:39 +02:00
domain Allow some Clippy lints 2019-08-28 18:18:41 +02:00
entry Allow some Clippy lints 2019-08-28 18:18:41 +02:00
etc [No-auto] lib/etc/interaction: Fix Clippy warnings 2019-08-28 18:18:41 +02:00