Function: f-slash
f-slash is a byte-compiled function defined in f.el.
Signature
(f-slash PATH)
Documentation
Append slash to PATH unless one already.
Some functions, such as call-process requires there to be an
ending slash.
Source Code
;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-slash (path)
"Append slash to PATH unless one already.
Some functions, such as `call-process' requires there to be an
ending slash."
(if (f-dir-p path)
(file-name-as-directory path)
path))