Commit graph

4085 commits

Author SHA1 Message Date
2a6e4c62fe Remove unwrap() by matching, remove unneeded deref() 2016-05-15 14:01:55 +02:00
8d9bd5154d Remove unwrap() by matching, remove unneeded deref() 2016-05-15 14:01:55 +02:00
a481200c9a Replace unwrap() by matching 2016-05-15 14:01:55 +02:00
1e1cbec98b Replace unwrap() by matching 2016-05-15 14:01:55 +02:00
70b3d3906e Replace unwrap() by matching 2016-05-15 14:01:55 +02:00
1f66f67791 Replaced unwrap() by matching 2016-05-15 14:01:55 +02:00
7b612ce8fb Remove iflet by mapping over Option/Result types 2016-05-15 14:01:55 +02:00
f9f5fa5717 Shorten code by using StoreError as SE and StoreErrorKind as SEK 2016-05-15 14:01:55 +02:00
a852da54dd Remove iflet by using Option::{map_err, and}() 2016-05-15 14:00:40 +02:00
3fb6d507e5 Remove unwrap() by matching 2016-05-15 14:00:40 +02:00
ac8bcde239 Remove unwrap() hell by matching 2016-05-15 14:00:40 +02:00
7b855f82f3 Remove unwrap() calling by matching 2016-05-15 14:00:24 +02:00
11021906b3 Merge pull request #401 from matthiasbeyer/libimagutil/code-cleanup
Code cleanup in libimagutil
2016-05-15 13:58:57 +02:00
2a468be7ab Merge pull request #384 from llogiq/clippy
fixed some clippy warnings
2016-05-15 13:57:56 +02:00
Andre Bogus
cd224eaeff roll back closure, remove unneeded slice & imports 2016-05-14 20:12:19 +02:00
e66d837642 Remove unneeded scopes 2016-05-14 19:51:24 +02:00
Andre Bogus
12472ab397 fixed type inference on FromIterator call 2016-05-13 22:28:18 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
Andre Bogus
7a46df3125 fixed unneeded import 2016-05-13 22:27:49 +02:00
Andre Bogus
5ac661c334 fixed imag-link iterator error 2016-05-13 22:27:39 +02:00
Andre Bogus
dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
0c89fafe20 Merge pull request #395 from matthiasbeyer/libimagstore/store-id-iterator-generic
Libimagstore/store id iterator generic
2016-05-13 14:42:22 +02:00
bf878c9245 Merge pull request #394 from matthiasbeyer/libimagentrylink/make-external-link-id-filter-helper-pub
Rename and make public: is_link_store_id() -> is_external_link_storeid()
2016-05-13 14:42:07 +02:00
1da052b555 Merge pull request #393 from matthiasbeyer/libimagentrylink/update-url
Update dependency: url: 0.5.5 -> 1.1
2016-05-13 14:41:57 +02:00
eca41e04dd Add argument finder helper function 2016-05-13 14:41:19 +02:00
580c9e5286 Add command finder helper function 2016-05-13 14:41:11 +02:00
27124c2a83 Rewrite imag binary in Rust 2016-05-13 14:23:05 +02:00
86f3119dd5 Update dependency: url: 0.5.5 -> 1.1 2016-05-12 17:31:46 +02:00
b9d8e5728b Move GlobStoreIdIterator implementation so we can have it non-public 2016-05-12 17:27:41 +02:00
a510e1b6b6 Add error printing (debug) in GlobStoreIdIterator helper type 2016-05-12 17:24:27 +02:00
5972ce7f37 Make StoreIdIterator generic
This patch makes the StoreIdIterator type generic over all iterators
with Item = StoreId.

As the StoreIdIterator type was previousely used for iterating over a
glob() result, I had to wrap this result type in another iterator type
which is then wrapped in StoreIdIterator.

With this patch applied, other libraries may use the StoreIdIterator
type to abstract things away in their implementation.
2016-05-12 17:21:04 +02:00
7c9e52c25e Rename and make public: is_link_store_id() -> is_external_link_storeid() 2016-05-12 17:12:40 +02:00
mario-kr
66e57bf57c Merge pull request #3 from mario-kr/impl_basic-executable
Impl basic executable
2016-05-11 12:55:03 +02:00
9f528fb929 Merge pull request #390 from matthiasbeyer/update-log
Update log
2016-05-11 12:35:27 +02:00
111c8b73f0 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
9e0eb9f470 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
62f6478476 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
acfff70498 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
dda40fb5d2 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
40fed760d5 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
eb8f5a7c92 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
72e53e16f6 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
abcbfd7f27 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
f168d8c871 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
15986cba34 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
c29c6bf4a3 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
1b280b2f18 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
e3105fe085 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
a2ca6b4feb Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
465f43cd6e Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00