Commit 9d32fccf authored by James Edwards-Jones's avatar James Edwards-Jones

Avoid printing data for LfsPointerFile#inspect

parent 1f5e809c
...@@ -20,6 +20,10 @@ module Gitlab ...@@ -20,6 +20,10 @@ module Gitlab
def sha256 def sha256
@sha256 ||= Digest::SHA256.hexdigest(@data) @sha256 ||= Digest::SHA256.hexdigest(@data)
end end
def inspect
"#<#{self.class}:#{object_id} @size=#{size}, @sha256=#{sha256.inspect}>"
end
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment