Module: Gitlab::Git::RuggedImpl::Blob::ClassMethods

Extended by:
Utils::Override
Includes:
UseRugged
Defined in:
lib/gitlab/git/rugged_impl/blob.rb

Instance Method Summary collapse

Methods included from Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods included from UseRugged

#execute_rugged_call, #rugged_enabled_through_feature_flag?, #rugged_feature_keys, #running_puma_with_multiple_threads?, #use_rugged?

Instance Method Details

#tree_entry(repository, sha, path, limit) ⇒ Object


17
18
19
20
21
22
23
# File 'lib/gitlab/git/rugged_impl/blob.rb', line 17

def tree_entry(repository, sha, path, limit)
  if use_rugged?(repository, :rugged_tree_entry)
    execute_rugged_call(:rugged_tree_entry, repository, sha, path, limit)
  else
    super
  end
end