Commit graph

21 commits

Author SHA1 Message Date
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
3b02a30788 Move Link/Links type to external linking code 2016-03-11 15:15:02 +01:00
b8766a224e Implement ExternalLinker for Entry for convenience 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
1e17b10568 Refactor external linking 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
339ec08a83 lib: Add Links::{add,remove}() 2016-03-11 15:15:02 +01:00
6480fb515c lib: Derive some traits for Link{,s} type 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
b6168f50a1 Implement: Links::new() 2016-03-11 15:15:02 +01:00
e4fae4cfcf Implement: of external::set_link() 2016-03-11 15:15:02 +01:00
18de6b80d5 Implement: external::get_link() 2016-03-11 15:15:02 +01:00
e6e9a1a19e Add Error kinds 2016-03-11 15:15:02 +01:00
17daf7c387 Add Link::new() 2016-03-11 15:15:02 +01:00
ff3d5dd94b Add initial interface spec 2016-03-11 15:15:02 +01:00
2430e68dc2 Add dependencies 2016-03-11 15:15:02 +01:00
e43bfa2c2c init: libimaglink 2016-03-11 15:15:02 +01:00