diff --git a/internal/cli/freshen.go b/internal/cli/freshen.go index 61018c3..4710992 100644 --- a/internal/cli/freshen.go +++ b/internal/cli/freshen.go @@ -149,6 +149,7 @@ func (mfa *CLIApp) freshenManifestOperation(ctx *cli.Context) error { existingMtime := time.Unix(existing.Mtime.Seconds, int64(existing.Mtime.Nanos)) if existing.Size != info.Size() || !existingMtime.Equal(info.ModTime()) { changed++ + log.Debugf("M %s", relPath) entries = append(entries, &freshenEntry{ path: relPath, size: info.Size(), @@ -169,6 +170,7 @@ func (mfa *CLIApp) freshenManifestOperation(ctx *cli.Context) error { delete(existingByPath, relPath) } else { added++ + log.Debugf("A %s", relPath) entries = append(entries, &freshenEntry{ path: relPath, size: info.Size(), @@ -195,6 +197,9 @@ func (mfa *CLIApp) freshenManifestOperation(ctx *cli.Context) error { // Remaining entries in existingByPath are removed files removed = int64(len(existingByPath)) + for path := range existingByPath { + log.Debugf("D %s", path) + } scanDuration := time.Since(startScan) log.Infof("scan complete in %s: %d unchanged, %d changed, %d added, %d removed",