MCPcopy Create free account
hub / github.com/delinoio/oss / GetRun

Method GetRun

cmds/async-commit-hook/internal/core/api.go:331–337  ·  view source on GitHub ↗
(_ context.Context, r *connect.Request[pb.GetRunRequest])

Source from the content-addressed store, hash-verified

329 return connect.NewResponse(out), nil
330}
331func (a *API) GetRun(_ context.Context, r *connect.Request[pb.GetRunRequest]) (*connect.Response[pb.GetRunResponse], error) {
332 run, e := a.s.Store.Run(r.Msg.RunId)
333 if e != nil {
334 return nil, apiError(e)
335 }
336 return connect.NewResponse(&pb.GetRunResponse{Run: a.run(run, true)}), nil
337}
338func (a *API) GetLogs(_ context.Context, r *connect.Request[pb.GetLogsRequest]) (*connect.Response[pb.GetLogsResponse], error) {
339 limit := int(r.Msg.Limit)
340 if limit == 0 {

Calls 3

runMethod · 0.95
apiErrorFunction · 0.85
RunMethod · 0.65