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

Method As

pkg/http/mark/mark.go:53–57  ·  view source on GitHub ↗
(target any)

Source from the content-addressed store, hash-verified

51}
52
53func (f marked) As(target any) bool {
54 // if this is false, errors.As will call unwrap and retry on the wrapped
55 // error.
56 return errors.As(f.mark, target)
57}
58
59func (f marked) Unwrap() error {
60 return f.wrapped

Callers 3

cancelWorkflowRunFunction · 0.80
isAcceptedErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected