Fix typo in is_external_link_storeid() helper fn
This commit is contained in:
parent
c23a11060f
commit
1dfe877cd9
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ pub trait ExternalLinker : InternalLinker {
|
||||||
|
|
||||||
/// Check whether the StoreId starts with `/link/external/`
|
/// Check whether the StoreId starts with `/link/external/`
|
||||||
pub fn is_external_link_storeid(id: &StoreId) -> bool {
|
pub fn is_external_link_storeid(id: &StoreId) -> bool {
|
||||||
debug!("Checking whether this is a link/external/*: '{:?}'", id);
|
debug!("Checking whether this is a 'links/external/': '{:?}'", id);
|
||||||
id.local().starts_with("link/external")
|
id.local().starts_with("links/external")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_external_link_from_file(entry: &FileLockEntry) -> Result<Url> {
|
fn get_external_link_from_file(entry: &FileLockEntry) -> Result<Url> {
|
||||||
|
|
Loading…
Reference in a new issue