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

Function format_location_result

crates/opencode-tool/src/lsp_tool.rs:360–362  ·  view source on GitHub ↗
(label: &str, loc: lsp_types::Location)

Source from the content-addressed store, hash-verified

358
359#[cfg(feature = "lsp")]
360fn format_location_result(label: &str, loc: lsp_types::Location) -> String {
361 format!("{} found at:\n{}", label, format_location(&loc))
362}
363
364#[cfg(feature = "lsp")]
365fn format_hover_result(hover: lsp_types::Hover) -> String {

Callers 1

execute_with_lspFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected