1168 |
15 Aug 10 |
peter |
// $Id$ |
1168 |
15 Aug 10 |
peter |
2 |
|
1168 |
15 Aug 10 |
peter |
3 |
/* |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2010, 2012, 2023 Peter Johansson |
1168 |
15 Aug 10 |
peter |
5 |
|
1168 |
15 Aug 10 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
1168 |
15 Aug 10 |
peter |
7 |
|
1168 |
15 Aug 10 |
peter |
svndigest is free software; you can redistribute it and/or modify it |
1168 |
15 Aug 10 |
peter |
under the terms of the GNU General Public License as published by |
1168 |
15 Aug 10 |
peter |
the Free Software Foundation; either version 3 of the License, or |
1168 |
15 Aug 10 |
peter |
(at your option) any later version. |
1168 |
15 Aug 10 |
peter |
12 |
|
1168 |
15 Aug 10 |
peter |
svndigest is distributed in the hope that it will be useful, but |
1168 |
15 Aug 10 |
peter |
WITHOUT ANY WARRANTY; without even the implied warranty of |
1168 |
15 Aug 10 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1168 |
15 Aug 10 |
peter |
General Public License for more details. |
1168 |
15 Aug 10 |
peter |
17 |
|
1168 |
15 Aug 10 |
peter |
You should have received a copy of the GNU General Public License |
1168 |
15 Aug 10 |
peter |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
1168 |
15 Aug 10 |
peter |
20 |
*/ |
1168 |
15 Aug 10 |
peter |
21 |
|
1619 |
12 Mar 23 |
peter |
22 |
#include <config.h> |
1619 |
12 Mar 23 |
peter |
23 |
|
1540 |
10 Oct 12 |
peter |
24 |
#include "SVNcat.h" |
1168 |
15 Aug 10 |
peter |
25 |
|
1168 |
15 Aug 10 |
peter |
26 |
#include "SVN.h" |
1547 |
20 Oct 12 |
peter |
27 |
#include "SVNproperty.h" |
1168 |
15 Aug 10 |
peter |
28 |
|
1168 |
15 Aug 10 |
peter |
29 |
namespace theplu { |
1168 |
15 Aug 10 |
peter |
30 |
namespace svndigest { |
1168 |
15 Aug 10 |
peter |
31 |
|
1547 |
20 Oct 12 |
peter |
32 |
SVNcat::SVNcat(const std::string& path, svn_revnum_t rev) |
1168 |
15 Aug 10 |
peter |
33 |
{ |
1547 |
20 Oct 12 |
peter |
34 |
SVN::instance()->client_cat(path, rev, str_); |
1168 |
15 Aug 10 |
peter |
35 |
} |
1168 |
15 Aug 10 |
peter |
36 |
|
1541 |
10 Oct 12 |
peter |
37 |
|
1542 |
11 Oct 12 |
peter |
38 |
const std::string& SVNcat::str(void) const |
1541 |
10 Oct 12 |
peter |
39 |
{ |
1541 |
10 Oct 12 |
peter |
40 |
return str_; |
1541 |
10 Oct 12 |
peter |
41 |
} |
1541 |
10 Oct 12 |
peter |
42 |
|
1168 |
15 Aug 10 |
peter |
43 |
}} // end of namespace svndigest and namespace theplu |