docs: fix some function names in comments

Signed-off-by: crystalstall <crystalruby@qq.com>
This commit is contained in:
crystalstall 2024-09-03 00:20:08 +08:00 committed by GitHub
parent 711478554e
commit 296281a6eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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) {}

View File

@ -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)

View File

@ -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