Commit graph

22 commits

Author SHA1 Message Date
John Sirois
7f57e5e234 Move from a helper function to a typeclass.
This introduces the `FoldResut` trait to move from `func(receiver, ...)`
style to `receiver.func(...)` style. Also add a means to pass the
default result explicitly.
2016-07-14 07:28:54 -06:00
John Sirois
2c40b8734e Add a fold_ok utility.
Add a utility that folds an iterator into a result and uses it to reduce
boilerplate in the codebase.
2016-07-13 12:43:04 -06:00
2cd511c0c1 Make CoreLister generic 2016-07-04 20:04:38 +02:00
38031d5798 Add counter in libimagentrylist::listers::Core 2016-05-23 19:18:06 +02:00
698c219e04 libimagentrylist: use generate_error_module!() macro and reexport generated types 2016-05-19 20:32:23 +02:00
fb79aedbd2 libimagentrylist: Replace error module imports with macro helper 2016-05-19 18:22:03 +02:00
20ac5247f1 libimagentrylist: Replace error code with code generator macro 2016-05-17 00:26:36 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
79f585def9 Fix libimagentrylist::listers::path 2016-05-04 13:30:19 +02:00
169d835e22 Remove unused deref() call 2016-04-21 13:19:01 +02:00
985d273787 Remove unused deref() call 2016-04-21 13:18:22 +02:00
6177ac9dad Enable lints 2016-04-17 20:53:10 +02:00
20c78a99e4 Remove unused imports 2016-04-17 20:53:06 +02:00
a41d037bcf Add lister helper function 2016-04-06 11:49:03 +02:00
ecfdbab947 Add default arguments for builtin lister backends 2016-04-06 11:42:23 +02:00
9a9b7fcc58 Add cli submodule for building and parsing CLI subcomponents 2016-04-06 11:35:22 +02:00
19f89c5864 Add dependency: clap = 2.1.1 2016-04-06 11:32:29 +02:00
fdc7e2c391 Add LineLister 2016-03-26 15:28:18 +01:00
5fe843e5d6 Add simple PathLister type 2016-03-26 15:28:18 +01:00
52eb81a6f7 Add initial codebase 2016-03-26 15:28:18 +01:00
8b1c36a86e Add dependencies 2016-03-26 15:28:18 +01:00
13fa328198 Initial import 2016-03-26 15:28:18 +01:00