Replace `wiki#find_file` RPC call with Gitaly method
At the moment, there are several ways to retrieve blobs using just Gitaly. These calls also return all the information we need to build the Gitlab::Git::WikiPage
the same way as the existing RPC.
We can replace the existing RPC with one of the existing Gitaly call.
We can also add a new functionality to find_file
. We're only using this call in https://gitlab.com/gitlab-org/gitlab/blob/master/lib/banzai/filter/gollum_tags_filter.rb#L103 and we don't use the data inside the file at all. Therefore, we can add a toggle to include the content in the final WikiFile
or not.
This will allow us to speed the rendering of wiki pages with several images because we won't need to load all the extra data.