1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

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
2 changed files with 2 additions and 2 deletions

View File

@@ -461,7 +461,7 @@ func translateErrorsDir(err error) error {
return err 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 { func translateErrorsObject(err error) error {
switch err := err.(type) { switch err := err.(type) {
case httpclient.InvalidStatusError: case httpclient.InvalidStatusError:

View File

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