MCPcopy Create free account
hub / github.com/cli/cli / init

Function init

pkg/cmd/issue/lock/lock.go:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53var reasonsMap map[string]*githubv4.LockReason
54
55func init() {
56 reasonsMap = make(map[string]*githubv4.LockReason)
57 for i, reason := range reasons {
58 reasonsMap[reason] = &reasonsApi[i]
59 }
60}
61
62type command struct {
63 Name string // actual command name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected