imag/lib/entry/libimagentryview
Matthias Beyer 11955f699f Change interface of Viewer to propagate io errors
Because we need to catch errors that are caused by a borken pipe when
writing to stdout (for example), this patch changes the interface of the
Viewer trait to return an error enum that can be used to check whether
an IO error happened.

The calling code can then decide whether to ignore a broken pipe error
or whether to handle it properly.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-30 11:12:43 +02:00
..
src Change interface of Viewer to propagate io errors 2019-05-30 11:12:43 +02:00
Cargo.toml Update dependency: toml: 0.4 -> 0.5 2019-05-29 18:39:25 +02:00
README.md Fix broken README symlinks 2017-08-27 15:13:25 +02:00

README.md

libimagentryview

Provides viewing (as in piping to stdout, opening in $EDITOR or in $BROWSER) functionality for entries.