Commit graph

30 commits

Author SHA1 Message Date
ac805dcef7 Add is_tag_str(&str) wrapper for is_tag(String) 2017-06-17 12:34:13 +02:00
98c33f7571 Add clap validator for tag string 2017-06-09 13:48:24 +02:00
8253fb9795 libimagutil does not provide macros anymore 2017-05-04 16:28:10 +02:00
4472449696 Add new dependency: is_match = 0.1 2017-05-04 16:20:15 +02:00
cba1fae80f libimagentrytag: Remove EntryHeader type, use toml::Value 2017-02-05 13:10:39 +01:00
9ae091babe Remove impl Tagable for FileLockEntry, as Deref{Mut,} does this for us 2016-11-01 18:01:40 +01:00
30875d153f Merge pull request #771 from matthiasbeyer/clap-validators
Clap validators
2016-10-07 19:45:49 +02:00
28c023dbc5 libimagentrytag: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
3d06933860 Add is_tag validator 2016-09-30 10:45:28 +02:00
9982b3251c Replace unwrap() with try!() 2016-08-04 19:22:31 +02:00
a07047b61a Replace unwrap() with try!() 2016-08-04 19:22:31 +02:00
27009be687 Replace unwrap() with try!() 2016-08-04 19:22:30 +02:00
f43f227042 Import MapErrInto Trait 2016-08-04 19:20:54 +02:00
bc16a2531a Export MapErrInto trait 2016-08-04 19:20:54 +02:00
e05d0e6f13 libimagentrytag: Add value_name() call in ui helpers 2016-06-08 14:11:16 +02:00
5fbfe63e1b Use IntoError functionality to have less noise in the error construction code 2016-05-27 10:44:37 +02:00
e30d2480ab libimagentrytag: Refactor code with is_match!() macro 2016-05-23 21:43:20 +02:00
6fac67b910 Merge pull request #422 from matthiasbeyer/libimagerror/generate-module
Libimagerror/generate module
2016-05-20 17:08:09 +02:00
b624ba9c06 libimagentrytag: use generate_error_module!() macro and reexport generated types 2016-05-19 20:32:23 +02:00
be3d39a65c libimagentrytag: Replace error module imports with macro helper 2016-05-19 18:22:03 +02:00
397a82f528 Shorten code in get_remove_tags() 2016-05-19 17:33:38 +02:00
227acd492c Shorten code in get_add_tags() 2016-05-19 17:33:28 +02:00
ed724d3726 Change get_remove_tags() to get to-remove-tags from top level if there are any 2016-05-18 22:29:12 +02:00
c6821a53ca Change get_add_tags() to get to-add-tags from top level, if there are any 2016-05-18 22:29:12 +02:00
f4f807bc13 Extract args into new helper functions 2016-05-18 22:29:08 +02:00
5c7412ebc6 libimagentrytag: Replace error code with code generator macro 2016-05-17 00:26:36 +02:00
Andre Bogus
cd224eaeff roll back closure, remove unneeded slice & imports 2016-05-14 20:12:19 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
e08986842c libimagentrytag: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:27 +02:00
e86a795738 libimagtag -> libimagentrytag 2016-04-16 22:33:37 +02:00