13 lines
241 B
Ruby
13 lines
241 B
Ruby
# 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
|