diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-05-13 14:42:07 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-05-13 14:42:07 +0200 |
commit | bf878c924525b6585b5a6632d2397ae3a342b22e (patch) | |
tree | 027682f090773726c2a04e7996ee7d3128408d4b /libimagentrylink | |
parent | 1da052b555453570d6a69e84cbfcb006b26ba43b (diff) | |
parent | 7c9e52c25e3b0623a441354749162def8eafe7c0 (diff) |
Merge pull request #394 from matthiasbeyer/libimagentrylink/make-external-link-id-filter-helper-pub
Rename and make public: is_link_store_id() -> is_external_link_storeid()
Diffstat (limited to 'libimagentrylink')
-rw-r--r-- | libimagentrylink/src/external.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libimagentrylink/src/external.rs b/libimagentrylink/src/external.rs index d83a1b9d..fb791b9e 100644 --- a/libimagentrylink/src/external.rs +++ b/libimagentrylink/src/external.rs @@ -105,7 +105,7 @@ pub trait ExternalLinker : InternalLinker { } /// Check whether the StoreId starts with `/link/external/` -fn is_link_store_id(id: &StoreId) -> bool { +pub fn is_external_link_storeid(id: &StoreId) -> bool { debug!("Checking whether this is a /link/external/*: '{:?}'", id); id.starts_with("/link/external/") } @@ -129,7 +129,7 @@ impl ExternalLinker for Entry { .map(|vect| { debug!("Getting external links"); vect.into_iter() - .filter(is_link_store_id) + .filter(is_external_link_storeid) .map(|id| { debug!("Retrieving entry for id: '{:?}'", id); match store.retrieve(id.clone()) { |