debian-mirror-gitlab/app/validators/namespace_path_validator.rb
2018-03-17 18:26:18 +05:30

15 lines
328 B
Ruby

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