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

Method GetVersion

cmds/async-commit-hook/internal/core/api.go:230–232  ·  view source on GitHub ↗
(context.Context, *connect.Request[pb.GetVersionRequest])

Source from the content-addressed store, hash-verified

228 return "", E("worktree-unavailable", "registered worktree is unavailable", 2)
229}
230func (a *API) GetVersion(context.Context, *connect.Request[pb.GetVersionRequest]) (*connect.Response[pb.GetVersionResponse], error) {
231 return connect.NewResponse(&pb.GetVersionResponse{ApiVersion: 1, Version: Version}), nil
232}
233
234// Pair remains only as a v1 wire tombstone. Local UI access no longer pairs browsers.
235func (a *API) Pair(context.Context, *connect.Request[pb.PairRequest]) (*connect.Response[pb.PairResponse], error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected