Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

accounting: show checking tag if available even on transfers

Nick Craig-Wood9baa4d1c3c5b
diff --git a/fs/accounting/transfermap.go b/fs/accounting/transfermap.go
index bfd04b22c..518124ffc 100644
--- a/fs/accounting/transfermap.go
+++ b/fs/accounting/transfermap.go
@@ -98,6 +98,7 @@ func (tm *transferMap) String(ctx context.Context, progress *inProgress, exclude
ci := fs.GetConfig(ctx)
stringList := make([]string, 0, len(tm.items))
for _, tr := range tm._sortedSlice() {
+ var what = tr.what
if exclude != nil {
exclude.mu.RLock()
_, found := exclude.items[tr.remote]
@@ -109,8 +110,10 @@ func (tm *transferMap) String(ctx context.Context, progress *inProgress, exclude
var out string
if acc := progress.get(tr.remote); acc != nil {
out = acc.String()
+ if what != "" {
+ out += ", " + what
+ }
} else {
- what := tr.what
if what == "" {
what = tm.name
}