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

Method isStarred

lib/Repository.js:800–802  ·  view source on GitHub ↗

* Check if a repository is starred by you * @see https://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository * @param {Requestable.callback} cb - will receive true if the repository is starred and false if the repository * is

(cb)

Source from the content-addressed store, hash-verified

798 * @return {Promise} - the promise for the http request {Boolean} [description]
799 */
800 isStarred(cb) {
801 return this._request204or404(`/user/starred/${this.__fullname}`, null, cb);
802 }
803
804 /**
805 * Star a repository

Callers

nothing calls this directly

Calls 1

_request204or404Method · 0.80

Tested by

no test coverage detected