summaryrefslogtreecommitdiff
path: root/go/src/cow-dedupe
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-26 00:49:51 -0400
committerLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-26 00:49:51 -0400
commit6ae34ffb59a05c0098273d8d18e2986a6e43cbf4 (patch)
treef903f13f8dc797d43c22ffb907c8aa3043705396 /go/src/cow-dedupe
parentd6703afa3b00bc5b972ebc9e32871eedce629923 (diff)
gofmt
Diffstat (limited to 'go/src/cow-dedupe')
-rw-r--r--go/src/cow-dedupe/dedupe.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/go/src/cow-dedupe/dedupe.go b/go/src/cow-dedupe/dedupe.go
index e04257d..dc37491 100644
--- a/go/src/cow-dedupe/dedupe.go
+++ b/go/src/cow-dedupe/dedupe.go
@@ -73,7 +73,7 @@ func getFiemaps(paths []string) map[string][]string {
cnt++
sl.Put(fmt.Sprintf("Mapping extents... %d", cnt))
}
- /*errhandle(*/cmd.Wait()/*)*/
+ /*errhandle(*/ cmd.Wait() /*)*/
sl.Put(fmt.Sprintf("Mapping extents... done; mapped %d files", cnt))
sl.End(true)
@@ -122,7 +122,7 @@ func getChecksums(sl statusline.StatusLine, slfmt string, basecmd []string, path
cnt++
sl.Put(fmt.Sprintf(slfmt, cnt, len(paths)))
}
- /*errhandle(*/cmd.Wait()/*)*/
+ /*errhandle(*/ cmd.Wait() /*)*/
}
sl.Put(fmt.Sprintf(slfmt, "done", cnt))
@@ -256,7 +256,7 @@ func main() {
// And actually dedupe those
name := filepath.Base(srcFile)
if len(name) > 21 {
- name = name[:20]+"…"
+ name = name[:20] + "…"
}
status.verb = fmt.Sprintf("dedupe %q (and %d more)", name, len(dupFiles))
sl.Put(status.String())