summaryrefslogtreecommitdiff
path: root/app/finders/tags_finder.rb
blob: fd58f478b456feb39c2c408ffe067f382ade90f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class TagsFinder < GitRefsFinder
  def initialize(repository, params)
    super(repository, params)
  end

  def execute
    tags = repository.tags_sorted_by(sort)
    tags = by_search(tags)
    tags
  end
end