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

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

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