Skip to content

path-directory-name

Type ​

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

Description ​

Get the directory component of a path.

Examples ​

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