From c09426bcfef45dcfc0aa2e4ac0ef272c52be6c58 Mon Sep 17 00:00:00 2001 From: hidewrong <167099254+hidewrong@users.noreply.github.com> Date: Thu, 18 Apr 2024 00:02:44 +0800 Subject: [PATCH] fix spelling --- backend/googlephotos/pattern.go | 2 +- fs/fserrors/error.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/googlephotos/pattern.go b/backend/googlephotos/pattern.go index fc84f4a0e..fbd6d58fb 100644 --- a/backend/googlephotos/pattern.go +++ b/backend/googlephotos/pattern.go @@ -38,7 +38,7 @@ type dirPattern struct { toEntries func(ctx context.Context, f lister, prefix string, match []string) (fs.DirEntries, error) } -// dirPatters is a slice of all the directory patterns +// dirPatterns is a slice of all the directory patterns type dirPatterns []dirPattern // patterns describes the layout of the google photos backend file system. diff --git a/fs/fserrors/error.go b/fs/fserrors/error.go index 12c971cd2..bb0f723e2 100644 --- a/fs/fserrors/error.go +++ b/fs/fserrors/error.go @@ -296,7 +296,7 @@ type CountableError interface { IsCounted() bool } -// wrappedFatalError is an error wrapped so it will satisfy the +// wrappedCountableError is an error wrapped so it will satisfy the // Retrier interface and return true type wrappedCountableError struct { error