Skip to content

Commit 05e5ab2

Browse files
committed
Add a BASE-DIRECTORY method for pathnames.
1 parent f37f828 commit 05e5ab2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dist.lisp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262

6363
(defgeneric base-directory (object)
6464
(:documentation
65-
"Return the base directory pathname of OBJECT."))
65+
"Return the base directory pathname of OBJECT.")
66+
(:method ((object pathname))
67+
(merge-pathnames object)))
6668

6769
(defgeneric relative-to (object pathname)
6870
(:documentation

0 commit comments

Comments
 (0)