[Ecls-list] Getting directory contents on Unix

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Mar 6 22:30:28 UTC 2011


On Wed, Mar 2, 2011 at 2:03 AM, Zach Beane <xach at xach.com> wrote:

> Say I have a directory structure like this:
>
>  /tmp/x/a.txt
>  /tmp/x/b.txt (a symlink to a.txt)
>
> Is there any function I can call to get a list of #p"/tmp/x/a.txt" and
> #p"/tmp/x/b.txt? On sbcl, for example, I can pass :resolve-symlinks nil
> to CL:DIRECTORY. What (if anything) can I use in ECL?


Until version 11.1.1, there was no way. I will add a :resolve-symlinks
keyword arguments for the next release -- it is already in CVS.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110306/5a992d16/attachment.html>


More information about the ecl-devel mailing list