debian-mirror-gitlab/app/finders/tags_finder.rb

13 lines
225 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2019-12-26 22:10:19 +05:30
class TagsFinder < GitRefsFinder
2016-09-29 09:46:39 +05:30
def initialize(repository, params)
2019-12-26 22:10:19 +05:30
super(repository, params)
2016-09-29 09:46:39 +05:30
end
def execute
2019-12-26 22:10:19 +05:30
tags = repository.tags_sorted_by(sort)
2021-04-29 21:17:54 +05:30
by_search(tags)
2016-09-29 09:46:39 +05:30
end
end