Commit graph

16 commits

Author SHA1 Message Date
33aa56019f libimaglink -> libimagentrylink 2016-04-17 12:22:13 +02:00
59071c9948 Refactor: Use helper for type conversions instead of doing everything three times 2016-04-16 16:09:34 +02:00
915e711c3e Sort links alphabetically before writing 2016-04-16 16:09:00 +02:00
b63e2cb7b2 Make links unique before writing 2016-04-16 15:54:38 +02:00
0cc50691b6 Rewrite process_rw_result()
It did not cover the aspect that the passed toml `Value` object was an
Array in the first place and assumed that it is an `String` instead,
which caused the function always to return an Result::Err, which was
obviousely buggy.

This is almost a rewrite of the process_rw_result() function which takes
the additional layer (Array(String)) into account and therefor fixes
this issue.
2016-04-12 22:00:40 +02:00
8d9d6651fb Refactor common pattern into function 2016-04-09 14:43:11 +02:00
77fa6d71b3 Rewrite internal linking to use StoreId instead of String as Link type 2016-04-08 23:57:16 +02:00
cb288eb868 Rewrite internal linking
* so you need to pass Entry instead of Link
* interal linking does two-way-linking
2016-03-11 15:15:02 +01:00
d6029678c7 Implement InternalLinker for Entry, for convenience 2016-03-11 15:15:02 +01:00
defec535c8 Refactor internal link helpers into trait 2016-03-11 15:15:02 +01:00
277c31237a lib: Add remove_link() 2016-03-11 15:15:02 +01:00
b7a5f57e3a lib: Implement add_link() 2016-03-11 15:15:02 +01:00
19322b667a Add helper for processing store result 2016-03-11 15:15:02 +01:00
a53d36c23d Implement internal::set_links() 2016-03-11 15:15:02 +01:00
950dce945f Implement internal::get_links() 2016-03-11 15:15:02 +01:00
ff3d5dd94b Add initial interface spec 2016-03-11 15:15:02 +01:00