logo

go-deblob

remove binary blobs from a directory
commit: 8d622bdb03dbad0ebdda8c3611d75370f52e3626
parent: c8c02999d2c597137656e16ca2ff1a69c494992e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 17 Dec 2019 01:19:04 +0100

go-deblob.go: Make logging more friendly

Diffstat:

Mgo-deblob.go4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/go-deblob.go b/go-deblob.go @@ -72,14 +72,14 @@ func checkDir(dirname string) { for _, file := range files { filename := path.Join(dirname, file.Name()) if is_excluded(filename) { - fmt.Printf("! %s\n", filename) + fmt.Printf("ignoring: %s\n", filename) continue } if file.IsDir() { checkDir(filename) } else if isBlob(filename) { - fmt.Printf("- %s\n", filename) + fmt.Printf("removing: %s\n", filename) if noop { continue }