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
6196fcf4
Commit
6196fcf4
authored
Mar 13, 2020
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more unused Gitlab::Shell methods
parent
0595e6ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
lib/gitlab/shell.rb
lib/gitlab/shell.rb
+0
-22
No files found.
lib/gitlab/shell.rb
View file @
6196fcf4
...
...
@@ -179,27 +179,5 @@ module Gitlab
rescue
GRPC
::
Internal
false
end
protected
def
full_path
(
storage
,
dir_name
)
raise
ArgumentError
.
new
(
"Directory name can't be blank"
)
if
dir_name
.
blank?
File
.
join
(
Gitlab
.
config
.
repositories
.
storages
[
storage
].
legacy_disk_path
,
dir_name
)
end
private
def
git_timeout
Gitlab
.
config
.
gitlab_shell
.
git_timeout
end
def
wrapped_gitaly_errors
yield
rescue
GRPC
::
NotFound
,
GRPC
::
BadStatus
=>
e
# Old Popen code returns [Error, output] to the caller, so we
# need to do the same here...
raise
Error
,
e
end
end
end
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