1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-03 06:45:59 +02:00

Start of package management

This commit is contained in:
Brian Fiete 2021-02-25 08:10:21 -08:00
parent e517a9745a
commit e6c4a95ccd
25 changed files with 4316 additions and 692 deletions

View file

@ -6,6 +6,22 @@ namespace IDE.Util
{
public String mVersion ~ delete _;
public this()
{
}
public this(SemVer semVer)
{
if (semVer.mVersion != null)
mVersion = new String(semVer.mVersion);
}
public this(StringView version)
{
mVersion = new String(version);
}
public Result<void> Parse(StringView ver)
{
mVersion = new String(ver);