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

vfs: downloaders: remove unused osPath

Nick Craig-Wood79455cc71e81
diff --git a/vfs/vfscache/downloader.go b/vfs/vfscache/downloader.go
index 7861f9e34..6294e1465 100644
--- a/vfs/vfscache/downloader.go
+++ b/vfs/vfscache/downloader.go
@@ -37,7 +37,6 @@ type downloaders struct {
src fs.Object // source object
remote string
fcache fs.Fs // destination Fs
- osPath string
wg sync.WaitGroup
// Read write
@@ -87,7 +86,6 @@ func newDownloaders(item *Item, fcache fs.Fs, remote string, src fs.Object) (dls
src: src,
remote: remote,
fcache: fcache,
- osPath: item.c.toOSPath(remote),
}
dls.wg.Add(1)
go func() {