Function: magit-read-url

magit-read-url is a byte-compiled function defined in magit-remote.el.

Signature

(magit-read-url PROMPT &optional INITIAL-INPUT)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-remote.el
(defun magit-read-url (prompt &optional initial-input)
  (let ((url (magit-read-string-ns prompt initial-input)))
    (if (string-prefix-p "~" url)
        (expand-file-name url)
      url)))