Commit b192f3f6 authored by Rémy Coutable's avatar Rémy Coutable

Add Gitlab::Elastic::SearchResults#single_commit_result?

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent a9fbad4a
......@@ -57,6 +57,10 @@ module Gitlab
@milestones_count ||= milestones.total_count
end
def single_commit_result?
false
end
def self.parse_search_result(result)
ref = result["_source"]["blob"]["commit_sha"]
filename = result["_source"]["blob"]["path"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment