imag/lib/entry
Matthias Beyer 5a250bd991 Remove InternalLinker::set_internal_links()
This function needs to be removed because of the following problem:

When linking from one entry to another, and then removing the link in
the first entry with ::set_internal_links(vec![]), we end up with a
dangling link in the second entry, because the ::set_internal_links()
function does not take care of removing the links in the "other"
entries.

Actually, it is not even able to do so, because it would need to
`Store::get()` those entries, but it does not have access to the store.

Adding a `store` parameter to the function would be possible, but only
increase its complexity unnecessarily. This is why I opt for removing
this function (which is btw not used once in the whole imag codebase).

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18 02:31:03 +02:00
..
libimagentryannotation Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
libimagentrycategory Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrydatetime Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryedit Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryfilter Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrygps Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrylink Remove InternalLinker::set_internal_links() 2019-05-18 02:31:03 +02:00
libimagentrymarkdown Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
libimagentryref Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrytag Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryutil Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryview Add more context in error messages 2019-05-18 00:55:10 +02:00