File tree 3 files changed +1
-9
lines changed 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -324,13 +324,6 @@ NIL) returns a pathname equal (as per pathname=) to it."
324
324
(make-pathname :defaults pathname
325
325
:name nil :type nil ))
326
326
327
- (defun pathname-sans-directory-pathname (pathname )
328
- " Returns a complete pathname containing just the 'file' part of pathname.
329
-
330
- This is equivalent to (enough-namestring
331
- PATHNAME (pathname-directory-pathname PATHNAME))."
332
- (make-pathname :defaults pathname :directory ' ()))
333
-
334
327
(defun pathname-parent-directory (pathname )
335
328
" Returns a pathname which would, by name at least, contain PATHNAME
336
329
as one of its direct children. Symlinks can make the parent/child
Original file line number Diff line number Diff line change 47
47
:pathname-as-directory
48
48
:pathname-as-file
49
49
:pathname-directory-pathname
50
- :pathname-sans-directory-pathname
51
50
:pathname-equal
52
51
:pathname-parent-directory
53
52
:pathname-absolute-p
Original file line number Diff line number Diff line change 11
11
12
12
(defalias path :dirname (pathname ) cl-fad :pathname-directory-pathname)
13
13
14
- (defalias path :basename (pathname ) cl-fad : pathname-sans-directory- pathname)
14
+ (defun path :basename (pathname ) ( pathname ( file-namestring pathname )) )
15
15
16
16
(defalias path :-e (pathname ) cl-fad :file-exists-p)
17
17
You can’t perform that action at this time.
0 commit comments