From e812db0dec27988c5703f2c4b7e9f06116198d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Majdand=C5=BEi=C4=87?= Date: Mon, 1 Jul 2024 19:53:27 +0200 Subject: [PATCH] Minor cosmetic changes --- util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util.go b/util.go index ba760b8..4ed4c2a 100644 --- a/util.go +++ b/util.go @@ -110,7 +110,7 @@ func GetSyncFilesRecursively(input string, output chan string, status chan error } else { // log.Println(file.Name(), DirRegex.MatchString(file.Name())) if FileRegex.MatchString(file.Name()) { - log.Printf("Writing") + // log.Printf("Writing") output <- filepath.Join(directory, file.Name()) } atomic.AddInt32(&filesProcessed, 1) @@ -128,5 +128,5 @@ func GetSyncFilesRecursively(input string, output chan string, status chan error }() wg.Wait() - log.Printf("Done") + log.Printf("Files processed: %d; Folders processed: %d", filesProcessed, foldersProcessed) }