From 7c9e52c25e3b0623a441354749162def8eafe7c0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 12 May 2016 17:11:58 +0200 Subject: [PATCH] Rename and make public: is_link_store_id() -> is_external_link_storeid() --- libimagentrylink/src/external.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libimagentrylink/src/external.rs b/libimagentrylink/src/external.rs index e99abf42..0f4a06eb 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()) {