MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / clone

Method clone

crates/chat-cli/src/mcp_client/client.rs:226–231  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

224
225impl Clone for InnerService {
226 fn clone(&self) -> Self {
227 match self {
228 InnerService::Original(rs) => InnerService::Peer((*rs).clone()),
229 InnerService::Peer(peer) => InnerService::Peer(peer.clone()),
230 }
231 }
232}
233
234/// A wrapper around MCP (Model Context Protocol) service instances that manages

Callers 6

try_buildMethod · 0.45
callMethod · 0.45
make_svcFunction · 0.45
initMethod · 0.45
into_serviceMethod · 0.45

Calls

no outgoing calls

Tested by 1