X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfs-actions.pod;h=23e058017fcf5b3545e10c70bb1646cba8aa84a5;hp=9d094c962033249329634eac9799f156d8ecee0a;hb=0cad78b28d48dfcc31f53292d0424ba5ded7fe12;hpb=8c3b820c2b687345448e3d74a7101b07ff32688e diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 9d094c9..23e0580 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -609,6 +609,19 @@ so that the maximum guest memory is freed. This function returns 0 on success or -1 on error. +=head2 guestfs_equal + + int guestfs_equal (guestfs_h *handle, + const char *file1, + const char *file2); + +This compares the two files C and C and returns +true if their content is exactly equal, or false otherwise. + +The external L program is used for the comparison. + +This function returns a C truth value on success or -1 on error. + =head2 guestfs_exists int guestfs_exists (guestfs_h *handle, @@ -1013,7 +1026,7 @@ This function returns 0 on success or -1 on error. const char *device); This creates a filesystem on C (usually a partition -of LVM logical volume). The filesystem type is C, for +or LVM logical volume). The filesystem type is C, for example C. This function returns 0 on success or -1 on error.