Attributes
Members list
Value members
Concrete methods
This code relies on the sbt-buildinfo plugin which creates a source file called BuildInfo.scala in the following directory: target/scala-2.x/src_managed/main/sbt-buildinfo/
This code relies on the sbt-buildinfo plugin which creates a source file called BuildInfo.scala in the following directory: target/scala-2.x/src_managed/main/sbt-buildinfo/
Attributes
Method to parse a String such as "1.0.11" as a Version.
Method to parse a String such as "1.0.11" as a Version.
Each component is parsed by f, and the components are nested from the right: "1.0.11" is 1 with the subversion 0, which has the subversion 11.
Type parameters
- V
-
the underlying type of the Version
Value parameters
- f
-
a function to parse one component
- s
-
the String to be parsed
Attributes
- Returns
-
Some(version), or None if any component cannot be parsed by f
Givens
Givens
Renders a Version as its version/subversions separated by ".", for example 1.0.11.
Renders a Version as its version/subversions separated by ".", for example 1.0.11.