Paolo Amoroso wrote: > I am looking for a way of recognizing file system > directories. CL:DIRECTORY and UNIX:READ-DIR return both regular files > and directories, but how do I tell them apart? I have done some > APROPOSing around, but there's apparently no exported functionality > for this.
I use this: (eq :directory (unix:unix-file-kind (namestring path))) -- Kevin Rosenberg [EMAIL PROTECTED] -- Attached file included as plaintext by Listar -- -- File: signature.asc -- Desc: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/yIvIES7N8sSjgj4RAvr+AJ9myqyhUfkW8WmxnLcpPX7SqrZA5gCfYgnM NsXyzTcc6KNytJ9Wle5NZvY= =9wG6 -----END PGP SIGNATURE-----
