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

namespace_path_validator.rb « validators « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b0ae4db5d43d1e72fbb3dbcd5d1710d15ae7a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class NamespacePathValidator < AbstractPathValidator
  extend Gitlab::EncodingHelper

  def self.path_regex
    Gitlab::PathRegex.full_namespace_path_regex
  end

  def self.format_regex
    Gitlab::PathRegex.namespace_format_regex
  end

  def self.format_error_message
    Gitlab::PathRegex.namespace_format_message
  end
end