Skip to content

path-file-name

Type ​

meta-lisp
(-> text-t text-t)

Description ​

Get the file name component of a path.

Examples ​

meta-lisp
(path-file-name "/tmp/foo.txt")  ;; => "foo.txt"