Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
950fe55b
Commit
950fe55b
authored
Oct 13, 2016
by
Sander Bollen
Browse files
small extra com ment
parent
4c0e7a8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/package.scala
View file @
950fe55b
...
...
@@ -76,9 +76,9 @@ package object utils {
def
isSemanticVersion
(
version
:
String
)
:
Boolean
=
getSemanticVersion
(
version
).
isDefined
case
class
SemanticVersion
(
major
:
Int
,
minor
:
Int
,
patch
:
Int
,
build
:
Option
[
String
]
=
None
)
/**
* Check whether a version string is a semantic version.
* Note: the toInt calls here are only safe because the regex only matches numbers
*
* @param version version string
* @return SemanticVersion case class
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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