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

Changeset 1583

Show
Ignore:
Timestamp:
02/01/07 18:44:33 (2 years ago)
Author:
kris
Message:

name mismatch between directory and folder. Better to get it consistent

Files:

Legend:

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

    r1500 r1583  
    263263                /*************************************************************** 
    264264 
    265                         Is this file really a directory? 
    266  
    267                 ***************************************************************/ 
    268  
    269                 bool isDirectory () 
     265                        Is this file actually a folder/directory? 
     266 
     267                ***************************************************************/ 
     268 
     269                bool isFolder () 
    270270                { 
    271271                        return (getFlags & FILE_ATTRIBUTE_DIRECTORY) != 0; 
     
    325325                FileProxy remove () 
    326326                { 
    327                         if (isDirectory
     327                        if (isFolder
    328328                           { 
    329329                           version (Win32SansUnicode) 
     
    545545                /*************************************************************** 
    546546 
    547                         Is this file really a directory? 
    548  
    549                 ***************************************************************/ 
    550  
    551                 bool isDirectory () 
     547                        Is this file actually a folder/directory? 
     548 
     549                ***************************************************************/ 
     550 
     551                bool isFolder () 
    552552                { 
    553553                        stat_t stats; 
     
    606606                FileProxy remove () 
    607607                { 
    608                         if (isDirectory
     608                        if (isFolder
    609609                           { 
    610610                           if (posix.rmdir (path.cString.ptr))