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

Method constructor

lib/Search.js:22–25  ·  view source on GitHub ↗

* Create a Search * @param {Object} defaults - defaults for the search * @param {Requestable.auth} [auth] - information required to authenticate to Github * @param {string} [apiBase=https://api.github.com] - the base Github API URL

(defaults, auth, apiBase)

Source from the content-addressed store, hash-verified

20 * @param {string} [apiBase=https://api.github.com] - the base Github API URL
21 */
22 constructor(defaults, auth, apiBase) {
23 super(auth, apiBase);
24 this.__defaults = this._getOptionsWithDefaults(defaults);
25 }
26
27 /**
28 * Available search options

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected