Method: Pathname#file_crc32

Defined in:
lib/gorge/pathname.rb

#file_crc32String

Returns the CRC32 checksum (in hexadecimal format) of the contents of the file indicated by the Pathname.

Returns:



9
10
11
# File 'lib/gorge/pathname.rb', line 9

def file_crc32
  Digest::CRC32.file(self).hexdigest
end