Matthias Beyer
b63e2cb7b2
Make links unique before writing
2016-04-16 15:54:38 +02:00
Matthias Beyer
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
Matthias Beyer
8d9d6651fb
Refactor common pattern into function
2016-04-09 14:43:11 +02:00
Matthias Beyer
77fa6d71b3
Rewrite internal linking to use StoreId instead of String as Link type
2016-04-08 23:57:16 +02:00
Matthias Beyer
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
Matthias Beyer
d6029678c7
Implement InternalLinker for Entry, for convenience
2016-03-11 15:15:02 +01:00
Matthias Beyer
defec535c8
Refactor internal link helpers into trait
2016-03-11 15:15:02 +01:00
Matthias Beyer
277c31237a
lib: Add remove_link()
2016-03-11 15:15:02 +01:00
Matthias Beyer
b7a5f57e3a
lib: Implement add_link()
2016-03-11 15:15:02 +01:00
Matthias Beyer
19322b667a
Add helper for processing store result
2016-03-11 15:15:02 +01:00
Matthias Beyer
a53d36c23d
Implement internal::set_links()
2016-03-11 15:15:02 +01:00
Matthias Beyer
950dce945f
Implement internal::get_links()
2016-03-11 15:15:02 +01:00
Matthias Beyer
ff3d5dd94b
Add initial interface spec
2016-03-11 15:15:02 +01:00