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
b5fc789e
Commit
b5fc789e
authored
Jul 30, 2020
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused methods from Geo::Fdw::Project
parent
af1f4022
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
ee/app/models/geo/fdw/project.rb
ee/app/models/geo/fdw/project.rb
+0
-21
No files found.
ee/app/models/geo/fdw/project.rb
View file @
b5fc789e
...
...
@@ -15,27 +15,6 @@ module Geo
alias_method
:parent
,
:namespace
delegate
:disk_path
,
to: :storage
def
hashed_storage?
(
feature
)
raise
ArgumentError
,
_
(
"Invalid feature"
)
unless
::
Project
::
HASHED_STORAGE_FEATURES
.
include?
(
feature
)
self
.
storage_version
&&
self
.
storage_version
>=
::
Project
::
HASHED_STORAGE_FEATURES
[
feature
]
end
def
repository
@repository
||=
Repository
.
new
(
full_path
,
self
,
shard:
repository_storage
,
disk_path:
disk_path
)
end
def
storage
@storage
||=
if
hashed_storage?
(
:repository
)
Storage
::
Hashed
.
new
(
self
)
else
Storage
::
LegacyProject
.
new
(
self
)
end
end
class
<<
self
# Searches for a list of projects based on the query given in `query`.
#
...
...
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