summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrylink/src/internal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/entry/libimagentrylink/src/internal.rs')
-rw-r--r--lib/entry/libimagentrylink/src/internal.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/entry/libimagentrylink/src/internal.rs b/lib/entry/libimagentrylink/src/internal.rs
index 751f0b1e..7b092d24 100644
--- a/lib/entry/libimagentrylink/src/internal.rs
+++ b/lib/entry/libimagentrylink/src/internal.rs
@@ -568,7 +568,7 @@ fn process_rw_result(links: Result<Option<Value>>) -> Result<LinkIter> {
.map(|link| {
debug!("Matching the link: {:?}", link);
match link {
- Value::String(s) => StoreId::new_baseless(PathBuf::from(s))
+ Value::String(s) => StoreId::new(PathBuf::from(s))
.map(|s| Link::Id { link: s })
.map_err(From::from)
,
@@ -588,7 +588,7 @@ fn process_rw_result(links: Result<Option<Value>>) -> Result<LinkIter> {
debug!("Ok, here we go with building a Link::Annotated");
match (link, anno) {
(Value::String(link), Value::String(anno)) => {
- StoreId::new_baseless(PathBuf::from(link))
+ StoreId::new(PathBuf::from(link))
.map_err(From::from)
.map(|link| {
Link::Annotated {