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

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

  def self.path_regex
    Gitlab::PathRegex.full_project_path_regex
  end

  def self.format_regex
    Gitlab::PathRegex.project_path_format_regex
  end

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