Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2079

Show
Ignore:
Timestamp:
04/19/07 13:53:46 (2 years ago)
Author:
kris
Message:

added toList() to PathView? re ticket #419

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/io/FilePath.d

    r1870 r2079  
    16321632 
    16331633        abstract Stamps timeStamps (); 
     1634 
     1635        /*********************************************************************** 
     1636 
     1637                List the set of filenames within this directory. All 
     1638                filenames are null terminated, though the null itself 
     1639                is hidden at the end of each name (not exposed by the 
     1640                length property) 
     1641 
     1642                Each filename optionally includes the parent prefix, 
     1643                dictated by whether argument prefixed is enabled or 
     1644                not; default behaviour is to eschew the prefix 
     1645 
     1646        ***********************************************************************/ 
     1647 
     1648        abstract char[][] toList (bool prefixed = false); 
     1649 
     1650        /*********************************************************************** 
     1651 
     1652                List the set of filenames within this directory. 
     1653 
     1654                All filenames are null terminated and are passed 
     1655                to the provided delegate as such, along with the 
     1656                path prefix and whether the entry is a directory 
     1657                or not. 
     1658 
     1659        ***********************************************************************/ 
     1660         
     1661        abstract void toList (void delegate (char[], char[], bool) dg); 
    16341662} 
    16351663