diff options
Diffstat (limited to 'src/util.lisp')
-rw-r--r-- | src/util.lisp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp index 4df14a6..ab41664 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -142,6 +142,11 @@ one solution is to convert your property to a :LISP property." (unwind-protect (progn ,@forms) (delete-directory-tree ,dir :validate t)))) +(defun pathname-file (pathname) + "Like PATHNAME-NAME but include any file extension." + (namestring + (enough-pathname pathname (pathname-directory-pathname pathname)))) + ;;;; Progress & debug printing |