summaryrefslogtreecommitdiffstats
path: root/libimagtodo
diff options
context:
space:
mode:
authormario <mario-krehl@gmx.de>2016-06-28 23:05:05 +0200
committermario <mario-krehl@gmx.de>2016-06-28 23:05:05 +0200
commit72e85399ff4d8243f37cb1c52b907e8e61dc287e (patch)
tree7a86456c3cf6c23bb70138f4de6a696497e8a91b /libimagtodo
parentaa75b5ad9d41affe773d69caa8e64cc5116c0b77 (diff)
implemented list-featureo
Diffstat (limited to 'libimagtodo')
-rw-r--r--libimagtodo/src/read.rs2
-rw-r--r--libimagtodo/src/task.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libimagtodo/src/read.rs b/libimagtodo/src/read.rs
index 4af86d61..57c326c9 100644
--- a/libimagtodo/src/read.rs
+++ b/libimagtodo/src/read.rs
@@ -6,7 +6,7 @@ use result::Result;
pub fn get_todo_iterator(store: &Store) -> Result<TaskIterator> {
- store.retrieve_for_module("uuid")
+ store.retrieve_for_module("todo/taskwarrior")
.map(|iter| TaskIterator::new(store, iter))
.map_err(|e| TodoError::new(TodoErrorKind::StoreError, Some(Box::new(e))))
}
diff --git a/libimagtodo/src/task.rs b/libimagtodo/src/task.rs
index 5fe55990..b9174a56 100644
--- a/libimagtodo/src/task.rs
+++ b/libimagtodo/src/task.rs
@@ -14,7 +14,7 @@ use result::Result;
/// Task struct containing a `FileLockEntry`
#[derive(Debug)]
pub struct Task<'a> {
- flentry : FileLockEntry<'a>,
+ pub flentry : FileLockEntry<'a>,
}
impl<'a> Task<'a> {