Changeset 497 for library/bdm/osutils.h

Show
Ignore:
Timestamp:
08/11/09 09:56:48 (15 years ago)
Author:
vbarta
Message:

moved cross-platform directory scanning support from tests to core (osutils)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/osutils.h

    r408 r497  
    2727*/ 
    2828void makedir ( string &dirname, bool rewrite = true ); 
     29 
     30/*! @brief Recursively removes directories and files. 
     31 
     32@param path the name (absolute or relative) of the file or directory to 
     33be removed (must not be empty). 
     34 
     35Returns true on success, false when path couldn't be removed because 
     36it didn't exist, throws an exception otherwise. 
     37*/ 
     38bool remove_all ( const char *path ); 
     39