From a712542edb9d52105409462de3e56d2a6d6f6c7a Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 8 Oct 2019 15:06:04 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- lib/gitlab/gitaly_client/storage_service.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib') diff --git a/lib/gitlab/gitaly_client/storage_service.rb b/lib/gitlab/gitaly_client/storage_service.rb index 94fb0d87364..c7fcef6ddc5 100644 --- a/lib/gitlab/gitaly_client/storage_service.rb +++ b/lib/gitlab/gitaly_client/storage_service.rb @@ -7,14 +7,6 @@ module Gitlab @storage = storage end - # Returns all directories in the git storage directory, lexically ordered - def list_directories(depth: 1) - request = Gitaly::ListDirectoriesRequest.new(storage_name: @storage, depth: depth) - - GitalyClient.call(@storage, :storage_service, :list_directories, request, timeout: GitalyClient.medium_timeout) - .flat_map(&:paths) - end - # Delete all repositories in the storage. This is a slow and VERY DESTRUCTIVE operation. def delete_all_repositories request = Gitaly::DeleteAllRepositoriesRequest.new(storage_name: @storage) -- cgit v1.2.1