MCPcopy Index your code
hub / github.com/github-tools/github / forCode

Method forCode

lib/Search.js:75–77  ·  view source on GitHub ↗

* Search for code * @see https://developer.github.com/v3/search/#search-code * @param {Search.Params} [options] - additional parameters for the search * @param {Requestable.callback} [cb] - will receive the results of the search * @return {Promise} - the promise for the http request

(options, cb)

Source from the content-addressed store, hash-verified

73 * @return {Promise} - the promise for the http request
74 */
75 forCode(options, cb) {
76 return this._search('code', options, cb);
77 }
78
79 /**
80 * Search for issues

Callers 1

search.spec.jsFile · 0.80

Calls 1

_searchMethod · 0.95

Tested by

no test coverage detected