MCPcopy Index your code
hub / github.com/github/github-mcp-server / withSearchPostProcess

Function withSearchPostProcess

pkg/github/search_utils.go:54–56  ·  view source on GitHub ↗

withSearchPostProcess registers a callback invoked after a successful search response. The callback may mutate the call result (e.g. to attach _meta.ifc).

(fn searchPostProcessFn)

Source from the content-addressed store, hash-verified

52// withSearchPostProcess registers a callback invoked after a successful search
53// response. The callback may mutate the call result (e.g. to attach _meta.ifc).
54func withSearchPostProcess(fn searchPostProcessFn) searchOption {
55 return func(c *searchConfig) { c.postProcess = fn }
56}
57
58// prepareSearchArgs resolves the search query string and REST search options from the tool args,
59// applying the standard is:<type> / repo:<owner>/<repo> munging shared by search_issues and

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected