imag/lib/core
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
..
libimagerror [Auto] lib/core/error: Fix Clippy warnings 2019-08-28 18:18:40 +02:00
libimagrt [No-auto] lib/core/rt: Fix Clippy warnings 2019-08-28 18:18:41 +02:00
libimagstore Add Entries::{find_by_id_substr, find_by_id_startswith} 2019-09-01 13:36:39 +02:00