diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-09 21:24:59 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-09-09 21:55:23 +0200 |
commit | 70b9a1f0287f2aeda9677110106f43d1048306f3 (patch) | |
tree | 72c17539802d8355f5458201a77d97ae1baa62f5 /lazy-static | |
parent | 80fbab0f4dcdd6e172fab00794fb943bbe81fa1e (diff) | |
download | nitrocli-70b9a1f0287f2aeda9677110106f43d1048306f3.tar.gz nitrocli-70b9a1f0287f2aeda9677110106f43d1048306f3.tar.bz2 |
Refactor find_device into find_devices
This patch refactors the find_device function that finds a Nitrokey
device that matches the given filter or returns an error if there are
no or multiple matching Nitrokey devices into the find_devices function
that returns a vector with all matching Nitrokey devices. The check for
exactly one matching device is now performed in the connect function.
Diffstat (limited to 'lazy-static')
0 files changed, 0 insertions, 0 deletions