Avoid printing data for LfsPointerFile#inspect
This commit is contained in:
parent
1f5e809c04
commit
9d32fccfa7
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue