debian-mirror-gitlab/app/validators/project_path_validator.rb

16 lines
330 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
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