Changeset 121
- Timestamp:
- Dec 13, 2003, 1:51:54 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/pathnames.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/pathnames.lisp
r6 r121 133 133 source-path dest-path (%strerror exit-code))) 134 134 (values new-name original (truename new-name)))))) 135 136 137 ;;; It's not clear that we can support anything stronger than 138 ;;; "advisory" ("you pretend the file's locked & I will too") file 139 ;;; locking under Darwin. 135 140 136 141 … … 239 244 ;is a dir. - should we doc this - its exported? 240 245 (defun directoryp (path) 241 ;; This should be pretty easy. 242 (break "Directoryp ? ~s" path)) 246 (let* ((native (native-translated-namestring path)) 247 (realpath (%realpath native))) 248 (if realpath (eq (%unix-file-kind realpath) :directory)))) 249 243 250 244 251 ;-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Note:
See TracChangeset
for help on using the changeset viewer.
