MCPcopy Create free account
hub / github.com/bytebase/bytebase / lastCall

Method lastCall

backend/api/mcp/tool_schema_test.go:147–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func (m *metadataMock) lastCall() capturedRequest {
148 m.capturedMu.Lock()
149 defer m.capturedMu.Unlock()
150 if len(m.capturedCalls) == 0 {
151 return capturedRequest{}
152 }
153 return m.capturedCalls[len(m.capturedCalls)-1]
154}
155
156func (m *metadataMock) callAt(idx int) capturedRequest {
157 m.capturedMu.Lock()

Calls

no outgoing calls

Tested by

no test coverage detected