imag/bin/core/imag-store/src
Matthias Beyer f1a639ea8c Change id reporting API to return ExitCode
Because this API only errors when write!() errors occur, we can return
the exit code as an error here.

This way the user of the API can immediately exit if there was an IO
error, but the API automatically takes care of the right return value,
returning (exiting) with zero (0) if there was an "Broken pipe" error
and with one (1) otherwise, which is the expected behaviour here.

All calls to that API were changed accordingly.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-11 03:22:56 +01:00
..
create.rs Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
delete.rs Update copyright years 2019-01-03 18:41:36 +01:00
get.rs Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
main.rs Update copyright years 2019-01-03 18:41:36 +01:00
retrieve.rs Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
ui.rs Update copyright years 2019-01-03 18:41:36 +01:00
update.rs Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
util.rs Update copyright years 2019-01-03 18:41:36 +01:00
verify.rs Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00