Commit graph

18 commits

Author SHA1 Message Date
4f62dfcf2b Fix imag-store::create::* to fail on absolute pathes 2016-08-31 08:26:53 +02:00
372d46d2aa Fix imag-store::{create, delete, get, retrieve, update}::* for new StoreId interface 2016-08-28 18:41:56 +02:00
0f13fc38c0 Replace unwrap() with match 2016-08-03 13:04:47 +02:00
703788d9d2 Replace trace_error() with trace_error_exit() where appropriate 2016-07-16 21:57:29 +02:00
ab29265b10 imag-store: Change dependency from libimagutil -> libimagerror 2016-05-17 20:28:02 +02:00
Andre Bogus
cd224eaeff roll back closure, remove unneeded slice & imports 2016-05-14 20:12:19 +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
b629d0b8f1 Merge pull request #367 from matthiasbeyer/unwrap_err
Unwrap err
2016-04-21 15:08:36 +02:00
75fbcef4aa Use unused results 2016-04-21 13:32:05 +02:00
cd73be256b imag-store: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
df740ac63a Adapt to new function interface of build_entry_path() 2016-03-19 14:48:09 +01:00
b8b49b3240 Move: build_entry_path() from imag-store to libimagstore 2016-03-19 14:47:45 +01:00
04a5bb9138 Allow --id / -i as path specification, for consistency 2016-02-09 13:48:14 +01:00
67a7f1ab78 Add dedicated function for creating an entry with content 2016-02-09 13:48:14 +01:00
5fdbb61ac8 create() fixup: entry_from_raw() -> string_from_raw_src() 2016-02-09 13:45:13 +01:00
7fec8a1b23 Move commandline-header parsing code to utility module
as the code can be re-used in the update() implementation.
2016-02-09 13:45:13 +01:00
dbd6388946 Implement Store::create() interface 2016-02-09 13:45:13 +01:00
fa4beeebcd Add initial codebase 2016-02-09 13:45:13 +01:00