MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / do_update_part

Method do_update_part

crates/opencode-tool/src/tool.rs:542–548  ·  view source on GitHub ↗
(&self, part: serde_json::Value)

Source from the content-addressed store, hash-verified

540 }
541
542 pub async fn do_update_part(&self, part: serde_json::Value) -> Result<(), ToolError> {
543 if let Some(ref callback) = self.update_part {
544 callback(part).await
545 } else {
546 Ok(())
547 }
548 }
549
550 pub fn with_update_message<F, Fut>(mut self, callback: F) -> Self
551 where

Callers 2

executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected