From 92f30fda8d3430a453afa2170ebbb2c1e1013dbd Mon Sep 17 00:00:00 2001 From: curlwget Date: Tue, 24 Jun 2025 22:04:45 +0800 Subject: [PATCH] docs: fix some function names in comments Signed-off-by: curlwget --- backend/koofr/koofr.go | 2 +- backend/mailru/mailru.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/koofr/koofr.go b/backend/koofr/koofr.go index 34fc9ea0d..8c718e41d 100644 --- a/backend/koofr/koofr.go +++ b/backend/koofr/koofr.go @@ -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: diff --git a/backend/mailru/mailru.go b/backend/mailru/mailru.go index 3f2cfc372..d304bb8a3 100644 --- a/backend/mailru/mailru.go +++ b/backend/mailru/mailru.go @@ -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