diff options
Diffstat (limited to 'lib/domain/libimagwiki/src/wiki.rs')
-rw-r--r-- | lib/domain/libimagwiki/src/wiki.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/domain/libimagwiki/src/wiki.rs b/lib/domain/libimagwiki/src/wiki.rs index 33a6bc47..743536bf 100644 --- a/lib/domain/libimagwiki/src/wiki.rs +++ b/lib/domain/libimagwiki/src/wiki.rs @@ -22,7 +22,7 @@ use std::path::PathBuf; use libimagstore::store::Store; use libimagstore::store::FileLockEntry; use libimagstore::storeid::IntoStoreId; -use libimagstore::storeid::StoreIdIterator; +use libimagstore::iter::Entries; use libimagentrylink::internal::InternalLinker; use failure::Fallible as Result; @@ -91,8 +91,8 @@ impl<'a, 'b> Wiki<'a, 'b> { entry.add_internal_link(&mut index).map(|_| entry) } - pub fn all_ids(&self) -> Result<StoreIdIterator> { - self.0.entries().map(|iter| iter.in_collection("wiki").without_store()) + pub fn all_ids(&self) -> Result<Entries<'a>> { + self.0.entries().map(|iter| iter.in_collection("wiki")) } pub fn delete_entry<EN: AsRef<str>>(&self, entry_name: EN) -> Result<()> { |