utils/compare_varsions library

Compare version s in the form of major.minor.patch. Copyright (C) 2025, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors: Deep Seek, Graham Williams

Functions

compareVersions(String v1, String v2) int
Compare versions v1 and v2 with 0 if same, 1 if v1>v2 and -1 if v1<v2.