MCPcopy Create free account
hub / github.com/git-bug/git-bug / HumanID

Method HumanID

api/graphql/resolvers/bug.go:17–19  ·  view source on GitHub ↗
(_ context.Context, obj models.BugWrapper)

Source from the content-addressed store, hash-verified

15type bugResolver struct{}
16
17func (bugResolver) HumanID(_ context.Context, obj models.BugWrapper) (string, error) {
18 return obj.Id().Human(), nil
19}
20
21func (bugResolver) Comments(_ context.Context, obj models.BugWrapper, after *string, before *string, first *int, last *int) (*models.BugCommentConnection, error) {
22 input := models.ConnectionInput{

Callers

nothing calls this directly

Calls 2

IdMethod · 0.65
HumanMethod · 0.45

Tested by

no test coverage detected