gitlab-org--gitlab-foss/app/finders/tags_finder.rb

14 lines
241 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class TagsFinder < GitRefsFinder
2016-08-31 11:35:23 +00:00
def initialize(repository, params)
super(repository, params)
2016-08-31 11:35:23 +00:00
end
def execute
tags = repository.tags_sorted_by(sort)
tags = by_search(tags)
tags
2016-08-31 11:35:23 +00:00
end
end