aboutsummaryrefslogtreecommitdiffstats
path: root/drive/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'drive/util.go')
-rw-r--r--drive/util.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/drive/util.go b/drive/util.go
index be01c80..af80b20 100644
--- a/drive/util.go
+++ b/drive/util.go
@@ -105,3 +105,7 @@ func fileExists(path string) bool {
}
return false
}
+
+func intMax() int64 {
+ return 1 << (strconv.IntSize - 1) - 1
+}