Changeset 1428 for trunk/lib/rmdirhier.h


Ignore:
Timestamp:
Dec 17, 2011, 1:37:06 AM (10 years ago)
Author:
Peter Johansson
Message:

simplify rmdirhier using new DirectoryUtil?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/rmdirhier.h

    r978 r1428  
    2424*/
    2525
    26 #include <stdexcept>
    2726#include <string>
    2827
    2928namespace theplu {
    3029namespace svndigest {
    31 
    32   struct DirectoryError : public std::runtime_error
    33   { inline DirectoryError(const std::string& s) : runtime_error(s) {} };
    34 
    35   struct BadDirectory : public DirectoryError
    36   { inline BadDirectory(const std::string& s) : DirectoryError(s) {} };
    37 
    38   struct DirectoryOpenError : public DirectoryError
    39   { inline DirectoryOpenError(const std::string& s) : DirectoryError(s) {} };
    40 
    41   struct FileDeleteError : public DirectoryError
    42   { FileDeleteError(const std::string& s) : DirectoryError(s) {} };
    43 
    44   struct DirectoryDeleteError : public DirectoryError
    45   { DirectoryDeleteError(const std::string& s) : DirectoryError(s) {} };
    4630
    4731  void rmdirhier(const std::string& path);
Note: See TracChangeset for help on using the changeset viewer.