source: trunk/bin/rmdirhier.h @ 80

Last change on this file since 80 was 50, checked in by Jari Häkkinen, 18 years ago

force parameter works, target removed if exist.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 871 bytes
Line 
1// $Id: rmdirhier.h 50 2006-01-15 00:33:37Z jari $
2
3#ifndef _theplu_svnstat_rmdirhier_
4#define _theplu_svnstat_rmdirhier_
5
6#include <stdexcept>
7#include <string>
8
9namespace theplu {
10namespace svnstat {
11
12  struct DirectoryError : public std::runtime_error
13  { inline DirectoryError(const std::string& s) : runtime_error(s) {} };
14
15  struct BadDirectory : public DirectoryError
16  { inline BadDirectory(const std::string& s) : DirectoryError(s) {} };
17
18  struct DirectoryOpenError : public DirectoryError
19  { inline DirectoryOpenError(const std::string& s) : DirectoryError(s) {} };
20
21  struct FileDeleteError : public DirectoryError
22  { FileDeleteError(const std::string& s) : DirectoryError(s) {} };
23
24  struct DirectoryDeleteError : public DirectoryError
25  { DirectoryDeleteError(const std::string& s) : DirectoryError(s) {} };
26
27  void rmdirhier(const std::string& path);
28
29}} // of namespace svnstat and namespace theplu
30
31#endif
Note: See TracBrowser for help on using the repository browser.