imag/lib/entry
Matthias Beyer b66371f79b Rewrite Store::new* API: libimagstore does not export backend types
With this change applied, libimagstore does not export backend
representing types anymore.

This change is necessar because when we want to switch the `StoreId`
implementation from "complex and stateful" to "Stateless and Cow<'_,
&str>", we need to be able to have a type which represents a "`StoreId`
plus the path of the Store itself".
This "the path of the Store itself" is passed around as reference, to
minimize runtime impact.

Because such a type should not be exported by the libimagstore crate, we
make it `pub(crate)` internally. But because the backend APIs also have
to use this type, we would export the (private) type in the APIs of the
backend.

Because of that we make the backend API also non-visible to crate users,
which also decreases the surface of the libimagstore API itself.

Besides:
Remove function `Link::with_base()` which is not needed anymore (was
used in tests only).

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-15 20:53:28 +01:00
..
libimagentryannotation Remove iterator types 2019-02-10 01:00:33 +01:00
libimagentrycategory Rewrite Store::new* API: libimagstore does not export backend types 2019-02-15 20:53:28 +01:00
libimagentrydatetime Rewrite Store::new* API: libimagstore does not export backend types 2019-02-15 20:53:28 +01:00
libimagentryedit Update copyright years 2019-01-03 18:41:36 +01:00
libimagentryfilter Update copyright years 2019-01-03 18:41:36 +01:00
libimagentrygps Rewrite Store::new* API: libimagstore does not export backend types 2019-02-15 20:53:28 +01:00
libimagentrylink Rewrite Store::new* API: libimagstore does not export backend types 2019-02-15 20:53:28 +01:00
libimagentrymarkdown Rewrite Store::new* API: libimagstore does not export backend types 2019-02-15 20:53:28 +01:00
libimagentryref Update copyright years 2019-01-03 18:41:36 +01:00
libimagentrytag Update copyright years 2019-01-03 18:41:36 +01:00
libimagentryutil Add Is::remove_isflag() for removing header flags 2019-02-11 03:22:56 +01:00
libimagentryview Add feature to trim content on the right 2019-02-11 03:52:04 +01:00