debian-mirror-gitlab/lib/gitlab/git/patches/patch.rb

20 lines
283 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
module Gitlab
module Git
module Patches
class Patch
attr_reader :content
def initialize(content)
@content = content
end
def size
content.bytesize
end
end
end
end
end