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
98dfb9f8
Commit
98dfb9f8
authored
Apr 12, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in lib/gitlab/utils.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
ff1c0b2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
lib/gitlab/utils.rb
lib/gitlab/utils.rb
+0
-6
No files found.
lib/gitlab/utils.rb
View file @
98dfb9f8
...
@@ -73,7 +73,6 @@ module Gitlab
...
@@ -73,7 +73,6 @@ module Gitlab
nil
nil
end
end
<<<<<<<
HEAD
# EE below
# EE below
def
try_megabytes_to_bytes
(
size
)
def
try_megabytes_to_bytes
(
size
)
Integer
(
size
).
megabytes
Integer
(
size
).
megabytes
...
@@ -81,16 +80,11 @@ module Gitlab
...
@@ -81,16 +80,11 @@ module Gitlab
size
size
end
end
=======
>>>>>>>
upstream
/
master
def
bytes_to_megabytes
(
bytes
)
def
bytes_to_megabytes
(
bytes
)
bytes
.
to_f
/
Numeric
::
MEGABYTE
bytes
.
to_f
/
Numeric
::
MEGABYTE
end
end
<<<<<<<
HEAD
=======
# Used in EE
# Used in EE
>>>>>>>
upstream
/
master
# Accepts either an Array or a String and returns an array
# Accepts either an Array or a String and returns an array
def
ensure_array_from_string
(
string_or_array
)
def
ensure_array_from_string
(
string_or_array
)
return
string_or_array
if
string_or_array
.
is_a?
(
Array
)
return
string_or_array
if
string_or_array
.
is_a?
(
Array
)
...
...
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