diff options
Diffstat (limited to 'pare-gt')
-rw-r--r-- | pare-gt/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pare-gt/main.go b/pare-gt/main.go index 5e2daa1..a4d9600 100644 --- a/pare-gt/main.go +++ b/pare-gt/main.go @@ -8,8 +8,8 @@ import ( "os" "path" "path/filepath" - "strings" "sort" + "strings" ) const usage = `Usage: pare-gt [-n num] gtdir movedir @@ -74,7 +74,7 @@ func samplePrefixes(perctosample int, prefixes Prefixes) (filestomove []string) keys = append(keys, i) } - sample = (total * perctosample ) / 100 + sample = (total * perctosample) / 100 // This ensures the map is looped over deterministically sort.Strings(keys) |