"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
chore: fix some comments
fmterrors927b6afd04e5
diff --git a/backend/ulozto/ulozto.go b/backend/ulozto/ulozto.goindex 6aa80d9ab..2b638e299 100644--- a/backend/ulozto/ulozto.go+++ b/backend/ulozto/ulozto.go@@ -860,7 +860,7 @@ type RenamingObjectInfoProxy struct {remote string}-// Remote implements fs.ObjectInfo.Remote by delegating to the wrapped instance.+// String implements fs.ObjectInfo.String by delegating to the wrapped instance.func (s *RenamingObjectInfoProxy) String() string {return s.delegate.String()}diff --git a/fs/fserrors/error.go b/fs/fserrors/error.goindex 413a5a1f9..7e23b7281 100644--- a/fs/fserrors/error.go+++ b/fs/fserrors/error.go@@ -304,12 +304,12 @@ type wrappedCountableError struct {isCounted bool}-// CountableError interface+// Count marks this error as counted.func (err *wrappedCountableError) Count() {err.isCounted = true}-// CountableError interface+// IsCounted reports whether this error has already been counted.func (err *wrappedCountableError) IsCounted() bool {return err.isCounted}diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.goindex 23a48e7d2..61438978f 100644--- a/fs/operations/operations_test.go+++ b/fs/operations/operations_test.go@@ -1201,7 +1201,7 @@ func (i *testFsInfo) Precision() time.Duration { return i.precision }// Returns the supported hash types of the filesystemfunc (i *testFsInfo) Hashes() hash.Set { return i.hashes }-// Returns the supported hash types of the filesystem+// Features returns the optional features of this Fs.func (i *testFsInfo) Features() *fs.Features { return &i.features }func TestSameConfig(t *testing.T) {diff --git a/fs/sync/pipe.go b/fs/sync/pipe.goindex 42d3e9234..ea2e74920 100644--- a/fs/sync/pipe.go+++ b/fs/sync/pipe.go@@ -56,7 +56,7 @@ func (p *pipe) Len() int {return len(p.queue)}-// Len satisfy heap.Interface - must be called with lock held+// Less satisfies heap.Interface and must be called with the lock held.func (p *pipe) Less(i, j int) bool {return p.less(p.queue[i], p.queue[j])}