Commit e81c80094f77edc9aac68328a35cec65fd69140b

Thomas de Grivel 2018-06-10T09:55:26

remove dir

diff --git a/cffi-dirent.lisp b/cffi-dirent.lisp
index d725b93..33404c0 100644
--- a/cffi-dirent.lisp
+++ b/cffi-dirent.lisp
@@ -122,13 +122,6 @@
 	    (let ((,var ,dirent))
 	      ,@body))))))
 
-(defun dir (name &key (test #'string<)
-                   (key #'dirent-name))
-  (let (dir)
-    (do-dir (d name)
-      (push d dir))
-    (sort dir test :key key)))
-
 #+test
 (do-dir (df "/")
   (format t "~&~S ~S ~S ~S ~S~%"
diff --git a/package.lisp b/package.lisp
index c01926e..6d560fe 100644
--- a/package.lisp
+++ b/package.lisp
@@ -44,7 +44,6 @@
    #:dirent-type
    #:dirent-name
    #:do-dir
-   #:dir
    #:readdir-r
    #:rewinddir
    #:seekdir