guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add "scandir" procedure


From: Nala Ginrut
Subject: Re: [PATCH] Add "scandir" procedure
Date: Fri, 2 Sep 2011 19:38:46 +0800



On Fri, Sep 2, 2011 at 5:01 PM, Ludovic Courtès <address@hidden> wrote:
Hi,

Nala Ginrut <address@hidden> skribis:

> Let me retell my need, I need the function returns a sorted list which
> contained "." and "..". Is it easy to implement it with 'file-system-fold'?

Currently ‘file-system-fold’ dismisses dot and dot-dot; why do you need
them?

Ludo’.

 
Maybe "." and ".." is unnecessary , I just want to list a directory in HTML to client. Anyway, I can generate a "parent directory" to point to last level dir.
And how about the sort? I need a sorted result. 'scandir' do it automatically, will 'file-system-fold' provide a easy way?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]