summaryrefslogtreecommitdiffhomepage
path: root/version/cmp.go
AgeCommit message (Collapse)AuthorFilesLines
2024-04-16all: use Go 1.22 range-over-intBrad Fitzpatrick1-1/+1
Updates #11058 Change-Id: I35e7ef9b90e83cac04ca93fd964ad00ed5b48430 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-01-27all: update copyright and license headersWill Norris1-3/+2
This updates all source files to use a new standard header for copyright and license declaration. Notably, copyright no longer includes a date, and we now use the standard SPDX-License-Identifier header. This commit was done almost entirely mechanically with perl, and then some minimal manual fixes. Updates #6865 Signed-off-by: Will Norris <will@tailscale.com>
2021-07-01version: don't allocate parsing unsupported versions, empty stringsBrad Fitzpatrick1-20/+74
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-06-12version: remove leftover debug print.David Anderson1-2/+0
Signed-off-by: David Anderson <danderson@tailscale.com>
2020-06-12version: add an AtLeast helper to compare versions.David Anderson1-0/+142
Signed-off-by: David Anderson <danderson@tailscale.com>