Function: majutsu-gerrit-rest--path
majutsu-gerrit-rest--path is a natively compiled function defined in
majutsu-gerrit-rest.el.
Signature
(majutsu-gerrit-rest--path &rest SEGMENTS)
Documentation
Build a Gerrit REST path from SEGMENTS.
String SEGMENTS are URL-encoded; symbol SEGMENTS are inserted verbatim
as fixed path components (e.g. comments).
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-gerrit-rest.el
(defun majutsu-gerrit-rest--path (&rest segments)
"Build a Gerrit REST path from SEGMENTS.
String SEGMENTS are URL-encoded; symbol SEGMENTS are inserted verbatim
as fixed path components (e.g. `comments')."
(mapconcat (lambda (segment)
(concat "/" (if (symbolp segment)
(symbol-name segment)
(majutsu-gerrit-rest-encode-id segment))))
segments ""))