hasher with logs and deterministic delimiter

This commit is contained in:
Jakub
2020-12-31 08:10:00 +01:00
committed by Jakub Cuth
parent d9c9edf4d7
commit 0cde1ab801
2 changed files with 21 additions and 8 deletions

View File

@ -26,6 +26,7 @@ import (
)
func main() {
logrus.SetLevel(logrus.DebugLevel)
if err := createApp().Run(os.Args); err != nil {
logrus.Fatal(err)
}
@ -56,7 +57,7 @@ func createApp() *cli.App { // nolint[funlen]
}
func computeSum(c *cli.Context) error {
b, err := sum.RecursiveSum(c.String("root"), "")
b, err := sum.RecursiveSum(c.String("root"), c.String("output"))
if err != nil {
return err
}