MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / QuerySync

Method QuerySync

abci/client/socket_client.go:338–345  ·  view source on GitHub ↗
(req types.RequestQuery)

Source from the content-addressed store, hash-verified

336}
337
338func (cli *socketClient) QuerySync(req types.RequestQuery) (*types.ResponseQuery, error) {
339 reqres := cli.queueRequest(types.ToRequestQuery(req))
340 if err := cli.FlushSync(); err != nil {
341 return nil, err
342 }
343
344 return reqres.Response.GetQuery(), cli.Error()
345}
346
347func (cli *socketClient) CommitSync() (*types.ResponseCommit, error) {
348 reqres := cli.queueRequest(types.ToRequestCommit())

Callers

nothing calls this directly

Calls 5

queueRequestMethod · 0.95
FlushSyncMethod · 0.95
ErrorMethod · 0.95
ToRequestQueryFunction · 0.92
GetQueryMethod · 0.45

Tested by

no test coverage detected