Do not use StoreId::local() here
This commit is contained in:
parent
dd388e53bb
commit
1ce780795a
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ pub mod iter {
|
|||
/// Check whether the StoreId starts with `/link/external/`
|
||||
pub fn is_external_link_storeid<A: AsRef<StoreId> + Debug>(id: A) -> bool {
|
||||
debug!("Checking whether this is a 'links/external/': '{:?}'", id);
|
||||
id.as_ref().local().starts_with("links/external")
|
||||
id.as_ref().is_in_collection(&["links", "external"])
|
||||
}
|
||||
|
||||
/// Implement `ExternalLinker` for `Entry`, hiding the fact that there is no such thing as an external
|
||||
|
|
Loading…
Reference in a new issue