docs: fix some function names in comments

Signed-off-by: curlwget <curlwget@icloud.com>
This commit is contained in:
curlwget 2025-06-24 22:04:45 +08:00 committed by GitHub
parent 559ef2eba8
commit 92f30fda8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ func translateErrorsDir(err error) error {
return err
}
// translatesErrorsObject translates Koofr errors to rclone errors (for an object operation)
// translateErrorsObject translates Koofr errors to rclone errors (for an object operation)
func translateErrorsObject(err error) error {
switch err := err.(type) {
case httpclient.InvalidStatusError:

View File

@ -634,7 +634,7 @@ func (f *Fs) readItemMetaData(ctx context.Context, path string) (entry fs.DirEnt
return
}
// itemToEntry converts API item to rclone directory entry
// itemToDirEntry converts API item to rclone directory entry
// The dirSize return value is:
//
// <0 - for a file or in case of error