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

Method do_todo_update

crates/opencode-tool/src/tool.rs:597–603  ·  view source on GitHub ↗
(&self, todos: Vec<TodoItemData>)

Source from the content-addressed store, hash-verified

595 }
596
597 pub async fn do_todo_update(&self, todos: Vec<TodoItemData>) -> Result<(), ToolError> {
598 if let Some(ref callback) = self.todo_update {
599 callback(self.session_id.clone(), todos).await
600 } else {
601 Ok(())
602 }
603 }
604
605 pub fn with_todo_get<F, Fut>(mut self, callback: F) -> Self
606 where

Callers 1

executeMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected