added functionality to delete existing partitions before reinstall
Some checks failed
Build / build (push) Failing after 4m53s
Some checks failed
Build / build (push) Failing after 4m53s
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package utils
|
||||
|
||||
import "golang.org/x/exp/constraints"
|
||||
|
||||
func Clamp[T constraints.Ordered](val, min, max T) T {
|
||||
if val < min {
|
||||
return min
|
||||
}
|
||||
if val > max {
|
||||
return max
|
||||
}
|
||||
return val
|
||||
}
|
||||
Reference in New Issue
Block a user