Commit graph

2614 commits

Author SHA1 Message Date
386ba39e94 Reimplement add_tag() with get_tags()/set_tags() 2016-02-15 14:09:22 +01:00
5c92624989 Refactor everything into one trait 2016-02-15 14:09:22 +01:00
1ca9597ad6 Implement: add::add_tag() 2016-02-14 20:15:36 +01:00
a2898dcc46 Implement: remove::remove_tag() 2016-02-14 20:15:36 +01:00
f4e7969039 Implement: check::has_tag{,s}() 2016-02-14 20:15:33 +01:00
31b966b9b4 Add check::has_tag{,s}() 2016-02-14 20:15:33 +01:00
028f8676a0 Add remove::remove_tag() 2016-02-14 20:15:33 +01:00
78ae968ee9 Add add::add_tag() 2016-02-14 20:15:33 +01:00
5512e2c86c Add result type 2016-02-14 19:34:01 +01:00
15b1adbc20 Add error type implementation 2016-02-14 19:34:01 +01:00
fd204ee05e Add initial module structure 2016-02-14 19:34:01 +01:00
38c492c362 Add dependencies 2016-02-14 16:15:33 +01:00
d408aed844 libimagtag: init 2016-02-14 16:15:33 +01:00
0cab0f114d Merge pull request #149 from matthiasbeyer/libimagstore/header-field-path-util
Add header field addressing by str
2016-02-14 16:10:56 +01:00
75b6a700e5 Reimplement filters with EntryHeader::read()
Therefor:

    - Remove field_path submodule
    - pub type FieldPath = String
2016-02-13 14:15:26 +01:00
37ce23fcaa Remove EntryHeader::toml() calls and replace with ::into() and ::from() calls 2016-02-12 22:07:43 +01:00
9951422dc4 Impl From<Table> for EntryHeader 2016-02-12 22:07:15 +01:00
794e7617e3 Impl Into<Table> for EntryHeader 2016-02-12 22:02:33 +01:00
df9313c599 Add EntryHeader::insert_with_sep() 2016-02-12 21:57:53 +01:00
54ba22d0ef Add EntryHeader::set_with_sep() 2016-02-12 21:56:48 +01:00
bca0143343 Add EntryHeader::read_with_sep() which allows seperator modification 2016-02-12 21:55:06 +01:00
a4fa1bac07 Add split-char setting 2016-02-12 21:50:44 +01:00
6397068ddc Add test for EntryHeader::delete() 2016-02-12 20:02:57 +01:00
cb87f31a23 Add EntryHeader::delete() 2016-02-12 20:02:56 +01:00
30e8afeced Add tests for inserting values 2016-02-12 20:02:56 +01:00
965c3445a1 Add test for setting value at new path 2016-02-12 20:02:56 +01:00
dd53e467d7 Add EntryHeader::set() test 2016-02-12 20:02:56 +01:00
b4362f5c65 Alter: EntryHeader should contain a Value, not the BTreeMap<> 2016-02-12 20:02:56 +01:00
74a9b844ca Add debugging output in tests 2016-02-12 20:02:41 +01:00
60ccf58f84 Merge pull request #148 from neithernut/impl-store-retrieve_copy
Implement Store::retrieve_copy()
2016-02-12 18:59:56 +01:00
1cca2bc13f Merge pull request #190 from matthiasbeyer/remove-libimagmodule
Remove codebase: libimagmodule
2016-02-12 13:45:54 +01:00
1b23af7169 Remove codebase: libimagmodule 2016-02-11 17:26:53 +01:00
a1f48b74a1 Merge pull request #188 from matthiasbeyer/libimagutil/error-trace
Add error tracing utility
2016-02-11 17:22:50 +01:00
0a8eaa1411 Add documentation of functions 2016-02-11 15:48:41 +01:00
d8ae741f31 Add error tracing utility 2016-02-11 15:48:41 +01:00
78cda89524 Add dependency: log = 0.3.5 2016-02-11 15:48:39 +01:00
103a0dea17 Add test: EntryHeader::read() 2016-02-11 15:45:48 +01:00
731a446546 Implement EntryHeader::read() 2016-02-11 15:45:47 +01:00
548aee8d5f Implement EntryHeader::set() 2016-02-11 15:45:47 +01:00
4d94f8a67f Implement: EntryHeader::insert() 2016-02-11 15:45:47 +01:00
3b09e0c214 Move helper functions outside of walk_header(), so we can use them 2016-02-11 15:45:47 +01:00
42aade5cef Add tests for path-to-value extractor functionality 2016-02-11 15:43:58 +01:00
4759076249 Implement walk_header() 2016-02-11 15:43:58 +01:00
a2e3598c01 Add more error types for header walking 2016-02-11 15:43:58 +01:00
0727fca797 Add tokenizer helper function 2016-02-11 15:43:58 +01:00
2f6cfb5868 Add interface for header field addressing by str 2016-02-11 15:43:58 +01:00
e9528fdd33 Merge pull request #136 from matthiasbeyer/bin/imag-store/init
bin/imag-store/init
2016-02-09 20:24:40 +01:00
00ccc22ef5 Add some debugging output for {create,retrieve,delete} 2016-02-09 20:09:12 +01:00
d85f985694 Fixup path-includes-path checker 2016-02-09 20:08:58 +01:00
d15a5a150b Fix error message for failing test 2016-02-09 20:08:48 +01:00