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)
| 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). |
| 54 | func 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 |
no outgoing calls
no test coverage detected