method
compare_file
v2_6_3 -
Show latest stable
- Class:
Bundler::FileUtils
compare_file(a, b)private
Returns true if the contents of a file a and a file b are identical.
Bundler::FileUtils.compare_file('somefile', 'somefile') #=> true Bundler::FileUtils.compare_file('/dev/null', '/dev/urandom') #=> false