Avoid printing data for LfsPointerFile#inspect
This commit is contained in:
parent
1f5e809c04
commit
9d32fccfa7
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue