Module: Checksummable

Extended by:
ActiveSupport::Concern
Included in:
Ci::BuildTraceChunk, Gitlab::Ci::Trace, LfsObject, Upload
Defined in:
app/models/concerns/checksummable.rb

Instance Method Summary collapse

Instance Method Details

#crc32(data) ⇒ Object


6
7
8
# File 'app/models/concerns/checksummable.rb', line 6

def crc32(data)
  Zlib.crc32(data)
end