Function: f-base
f-base is a byte-compiled function defined in f.el.
Signature
(f-base PATH)
Documentation
Return the name of PATH, excluding the extension of file.
Other relevant functions are documented in the f group.
Shortdoc
;; f
(f-base "path/to/file.ext")
=> "file"
(f-base "path/to/directory")
=> "directory"
Source Code
;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-base (path)
"Return the name of PATH, excluding the extension of file."
(f-no-ext (f-filename path)))