This commit is contained in:
parent
4eaa3c6d22
commit
73156ba97f
4 changed files with 15 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.SemVer;
|
namespace Geekeey.SemVer;
|
||||||
|
|
||||||
public readonly partial record struct SemanticVersion : IComparable, IComparable<SemanticVersion>
|
public readonly partial record struct SemanticVersion : IComparable, IComparable<SemanticVersion>
|
||||||
|
|
@ -45,4 +48,4 @@ public readonly partial record struct SemanticVersion : IComparable, IComparable
|
||||||
{
|
{
|
||||||
return left.CompareTo(right) >= 0;
|
return left.CompareTo(right) >= 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Geekeey.SemVer;
|
namespace Geekeey.SemVer;
|
||||||
|
|
@ -100,6 +103,8 @@ public readonly partial record struct SemanticVersion : ISpanFormattable
|
||||||
charsWritten += written;
|
charsWritten += written;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_ = destination;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.SemVer;
|
namespace Geekeey.SemVer;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue