equal
Description:
test if two files have equal contents
This compares the two files file1 and file2 and returns true if their content is exactly equal, or false otherwise.
The external cmp(1) program is used for the comparison.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned value, or -1 on error |