blob: fe6ae1b5b0069444fb4910394be17b02ab6db37c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# 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
|