Main Page
Namespaces
Classes
Files
Class List
Class Hierarchy
Class Members
Diff Class Reference
#include <
diff.h
>
List of all members.
Static Public Member Functions
static unsigned
differ
(const std::string file1, const std::string file2, std::string &out, int maxlines=-1)
Detailed Description
generate diff's with the command diff
Member Function Documentation
static unsigned Diff::differ
(
const std::string
file1
,
const std::string
file2
,
std::string &
out
,
int
maxlines
=
-1
)
[static]
generate unified diff between two files
Parameters:
file1
file2
out
where to store the diff
maxlines
maximum number of lines to put into out, -1 for unlimited
Returns:
1 if files differ, 0 if not and any higher value for error
The documentation for this class was generated from the following file:
diff.h
Generated on Fri Jun 16 15:51:35 2006 for liby2util by
1.4.6