Main Page
|
Namespace List
|
Class Hierarchy
|
Class List
|
File List
|
Namespace Members
|
Class Members
|
File Members
Diff Class Reference
#include <
diff.h
>
List of all members.
Static Public Member Functions
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
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 files:
diff.h
diff.cc
Generated on Thu Feb 23 23:56:10 2006 for liby2util by
1.3.6