Files
SPT-Server-Build/Libraries/SptCommon/Semver/ISemVer.cs
T
clodanSPT 2464246fd7 Pre spt mod loader (#102)
* partial commit

* pre spt mod loader refactored

---------

Co-authored-by: Alex <alex@dm-me-for-questions.com>
Co-authored-by: clodan <clodan@clodan.com>
2025-02-25 16:34:51 +00:00

14 lines
498 B
C#

namespace SptCommon.Semver;
public interface ISemVer
{
string MaxSatisfying(List<string> versions);
string MaxSatisfying(IEnumerable<string> versions);
string MaxSatisfying(string version, List<string> versions);
string MaxSatisfying(string version, IEnumerable<string> versions);
bool Satisfies(string version, string testVersion);
bool AnySatisfies(string version, List<string> testVersions);
bool IsValid(string version);
bool IsValidRange(string version);
}