Thread overview
[Issue 1638] New: Restrictive functionality of listdir in file.d
Nov 04, 2007
d-bugmail
Nov 04, 2007
d-bugmail
Nov 04, 2007
d-bugmail
Oct 31, 2009
Leandro Lucarella
November 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1638

           Summary: Restrictive functionality of listdir in file.d
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: braddr@puremagic.com
        ReportedBy: steve.teale@britseyeview.com


No convenient function is provided to search for files within a single directory - listdir is recursive.

Need listthisdir or similar.

Example of requirement. Administrators often copy interesting log files to a subdirectory of the directory where the log files are generated.  Under these circumstances, a recursive listing makes log file rollover unnecessarily difficult.


-- 

November 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1638





------- Comment #1 from steve.teale@britseyeview.com  2007-11-04 02:57 -------
Created an attachment (id=199)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=199&action=view)
diff of proposed change


-- 

November 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1638


matti.niemenmaa+dbugzilla@iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




-- 

October 11, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1638


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|braddr@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 31, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1638


Leandro Lucarella <llucax@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #199 is|0                           |1
              patch|                            |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 26, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1638


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com> 2010-09-25 17:45:16 PDT ---
dirEntries() takes care of that.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------