Welcome to mirror list, hosted at ThFree Co, Russian Federation.

text.rb « blob_viewer « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0c586a668052efbe6dad99a0153602d32794a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module BlobViewer
  class Text < Base
    include Simple
    include ServerSide

    self.partial_name = 'text'
    self.binary = false
    self.collapse_limit = 1.megabyte
    self.size_limit = 10.megabytes
  end
end