mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
docs: fix some function names in comments
Signed-off-by: crystalstall <crystalruby@qq.com>
This commit is contained in:
parent
711478554e
commit
296281a6eb
@ -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) {}
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user