Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d29f9c41
Commit
d29f9c41
authored
Oct 07, 2019
by
John Cai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove list_directoriers gitaly client method
parent
ee0d590f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lib/gitlab/gitaly_client/storage_service.rb
lib/gitlab/gitaly_client/storage_service.rb
+0
-8
No files found.
lib/gitlab/gitaly_client/storage_service.rb
View file @
d29f9c41
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment