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

docs: fix some function names in comments

crystalstall296281a6ebc2
diff --git a/fs/config/configfile/configfile_other.go b/fs/config/configfile/configfile_other.go
index ef509430c..c70a51603 100644
--- a/fs/config/configfile/configfile_other.go
+++ b/fs/config/configfile/configfile_other.go
@@ -5,6 +5,6 @@
package configfile
-// attemptCopyGroups tries to keep the group the same, which only makes sense
+// attemptCopyGroup tries to keep the group the same, which only makes sense
// for system with user-group-world permission model.
func attemptCopyGroup(fromPath, toPath string) {}
diff --git a/fs/config/configfile/configfile_unix.go b/fs/config/configfile/configfile_unix.go
index 542e24621..d5e8ee3dd 100644
--- a/fs/config/configfile/configfile_unix.go
+++ b/fs/config/configfile/configfile_unix.go
@@ -14,7 +14,7 @@ import (
"github.com/rclone/rclone/fs"
)
-// attemptCopyGroups tries to keep the group the same. User will be the one
+// attemptCopyGroup tries to keep the group the same. User will be the one
// who is currently running this process.
func attemptCopyGroup(fromPath, toPath string) {
info, err := os.Stat(fromPath)
diff --git a/fs/config/configflags/configflags.go b/fs/config/configflags/configflags.go
index d3beb9a3e..483e41a67 100644
--- a/fs/config/configflags/configflags.go
+++ b/fs/config/configflags/configflags.go
@@ -210,7 +210,7 @@ func SetFlags(ci *fs.ConfigInfo) {
}
}
-// parseHeaders converts DSCP names to value
+// parseDSCP converts DSCP names to value
func parseDSCP(dscp string) (uint8, bool) {
if s, err := strconv.ParseUint(dscp, 10, 6); err == nil {
return uint8(s), true