MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / do_todo_get

Method do_todo_get

crates/opencode-tool/src/tool.rs:614–620  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

612 }
613
614 pub async fn do_todo_get(&self) -> Result<Vec<TodoItemData>, ToolError> {
615 if let Some(ref callback) = self.todo_get {
616 callback(self.session_id.clone()).await
617 } else {
618 Ok(Vec::new())
619 }
620 }
621
622 pub fn with_get_last_model<F, Fut>(mut self, callback: F) -> Self
623 where

Callers 1

executeMethod · 0.80

Calls 2

newFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected