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

Method do_lsp_touch_file

crates/opencode-tool/src/tool.rs:578–584  ·  view source on GitHub ↗
(&self, file_path: String, write: bool)

Source from the content-addressed store, hash-verified

576 }
577
578 pub async fn do_lsp_touch_file(&self, file_path: String, write: bool) -> Result<(), ToolError> {
579 if let Some(ref callback) = self.lsp_touch_file {
580 callback(file_path, write).await
581 } else {
582 Ok(())
583 }
584 }
585
586 pub fn with_todo_update<F, Fut>(mut self, callback: F) -> Self
587 where

Callers 5

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected