MCPcopy Index your code
hub / github.com/coder/coder / int

Method int

coderd/promoauth/github.go:90–101  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

88}
89
90func (p *headerParser) int(key string) int {
91 v := p.string(key)
92 if v == "" {
93 return -1
94 }
95
96 i, err := strconv.Atoi(v)
97 if err != nil {
98 p.errors[key] = err
99 }
100 return i
101}

Callers 1

githubRateLimitsFunction · 0.95

Calls 1

stringMethod · 0.95

Tested by

no test coverage detected