Avoid printing data for LfsPointerFile#inspect

This commit is contained in:
James Edwards-Jones 2018-03-14 23:53:45 +00:00
parent 1f5e809c04
commit 9d32fccfa7

View file

@ -20,6 +20,10 @@ module Gitlab
def sha256
@sha256 ||= Digest::SHA256.hexdigest(@data)
end
def inspect
"#<#{self.class}:#{object_id} @size=#{size}, @sha256=#{sha256.inspect}>"
end
end
end
end