From 59a26f7d90909ff029db4a4f1243d6a0c04649fc Mon Sep 17 00:00:00 2001 From: Anthony Perez Date: Fri, 24 Jun 2016 14:59:41 +0000 Subject: [PATCH] Duplicate Paket.SemVer.Parse into PublicAPI.fs --- src/Paket.Core/PublicAPI.fs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Paket.Core/PublicAPI.fs b/src/Paket.Core/PublicAPI.fs index 51e06ab65b..206178e629 100644 --- a/src/Paket.Core/PublicAPI.fs +++ b/src/Paket.Core/PublicAPI.fs @@ -575,3 +575,8 @@ type Dependencies(dependenciesFileName: string) = with | _ -> None) |> Array.toList + +module PublicAPI = + /// Takes a version string formatted for Semantic Versioning and parses it + /// into the internal representation used by Paket. + let ParseSemVer (version:string) = SemVer.Parse version