1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-23 03:33:28 +00:00

vendor: add github.com/Azure/go-ansiterm for --progress on Windows support

This commit is contained in:
Nick Craig-Wood
2018-08-17 17:04:18 +01:00
parent b6db90cc32
commit 18685e6b0b
29 changed files with 3175 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
// +build windows
package winterm
// AddInRange increments a value by the passed quantity while ensuring the values
// always remain within the supplied min / max range.
func addInRange(n int16, increment int16, min int16, max int16) int16 {
return ensureInRange(n+increment, min, max)
}