1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-12 14:23:30 +00:00

moving "func min" to MinInt in utils

This commit is contained in:
Arno Hautala
2017-09-19 01:06:08 -04:00
parent e2fe57e959
commit f1fe64b9cc
2 changed files with 8 additions and 9 deletions

View File

@@ -427,3 +427,10 @@ func AtoSize(sizeString string) (int) {
return size
}
func MinInt(x, y int) (int) {
if x < y {
return x
}
return y
}