MCPcopy
hub / github.com/github/github-mcp-server / Is

Method Is

pkg/http/mark/mark.go:47–51  ·  view source on GitHub ↗
(target error)

Source from the content-addressed store, hash-verified

45}
46
47func (f marked) Is(target error) bool {
48 // if this is false, errors.Is will call unwrap and retry on the wrapped
49 // error.
50 return errors.Is(f.mark, target)
51}
52
53func (f marked) As(target any) bool {
54 // if this is false, errors.As will call unwrap and retry on the wrapped

Callers 6

ServeHTTPMethod · 0.45
ExtractUserTokenFunction · 0.45
beginMethod · 0.45
beginPKCEMethod · 0.45
runFlowMethod · 0.45

Calls

no outgoing calls

Tested by 1