;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\207" [require auth-source cl-lib json let-alist url url-auth url-http] 2)
|
#@58 The default host that is used if `ghub.host' is not set.
|
(defconst ghub-default-host "api.github.com" (#$ . 582))
|
#@882 The Github API scopes that your private tools need.
|
|
The token that is created based on the value of this variable
|
is used when `ghub-request' (or one of its wrappers) is called
|
without providing a value for AUTH. Packages should always
|
identify themselves using that argument, but when you use Ghub
|
directly in private tools, then that is not necessary and the
|
request is made on behalf of the `ghub' package itself, aka on
|
behalf of some private tool.
|
|
By default the only requested scope is `repo' because that is
|
sufficient as well as required for most common uses. This and
|
other scopes are documented at URL `https://magit.vc/goto/2e586d36'.
|
|
If your private tools need other scopes, then you have to add
|
them here *before* creating the token. Alternatively you can
|
edit the scopes of an existing token using the web interface
|
at URL `https://github.com/settings/tokens'.
|
(defvar ghub-github-token-scopes '(repo) (#$ . 703))
|
#@134 If non-nil, the string used to identify the local machine.
|
If this is nil, then the value returned by `system-name' is
|
used instead.
|
(defvar ghub-override-system-name nil (#$ . 1644))
|
#@68 compiler-macro for inlining `ghub--req-p'.
|
|
(fn CL-WHOLE-ARG CL-X)
|
(defalias 'ghub--req-p--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block ghub--req-p (and (memq (type-of cl-x) cl-struct-ghub--req-tags) t)) nil] 9 (#$ . 1834)])
|
(put 'ghub--req-p 'compiler-macro 'ghub--req-p--cmacro)
|
#@13
|
|
(fn CL-X)
|
(defalias 'ghub--req-p #[257 "\301!>\205 |