ediff-same-contents

ediff-same-contents is a compiled Lisp function in `ediff-diff.el'.

(ediff-same-contents D1 D2 &optional FILTER-RE)

Return t if D1 and D2 have the same content.
D1 and D2 can either be both directories or both regular files.
Symlinks and the likes are not handled.
If FILTER-RE is non-nil, recursive checking in directories
affects only files whose names match the expression.