Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

lib: fix typos found by codespell

Dimitri Papadopoulos18ebca3979c7
diff --git a/lib/buildinfo/arch.go b/lib/buildinfo/arch.go
index 7b565f558..c69b4ff9c 100644
--- a/lib/buildinfo/arch.go
+++ b/lib/buildinfo/arch.go
@@ -26,7 +26,7 @@ import (
func GetSupportedGOARM() int {
if runtime.GOARCH == "arm" && cpu.Initialized {
// This CPU is an ARM (32-bit), and cpu.Initialized true means its
- // features could be retrived on current GOOS so that we can check
+ // features could be retrieved on current GOOS so that we can check
// for floating point hardware support.
if cpu.ARM.HasVFPv3 {
// This CPU has VFPv3 floating point hardware, which means it can
diff --git a/lib/dircache/dircache.go b/lib/dircache/dircache.go
index 8076e7c8f..8cab02453 100644
--- a/lib/dircache/dircache.go
+++ b/lib/dircache/dircache.go
@@ -48,7 +48,7 @@ type DirCacher interface {
// error. This isn't done at initialization as it isn't known whether
// the root and intermediate directories need to be created or not.
//
-// Most of the utility functions wil call FindRoot() on the caller's
+// Most of the utility functions will call FindRoot() on the caller's
// behalf with the create flag passed in.
//
// The cache is safe for concurrent use
diff --git a/lib/errors/errors.go b/lib/errors/errors.go
index a978909ab..ea8d70318 100644
--- a/lib/errors/errors.go
+++ b/lib/errors/errors.go
@@ -1,4 +1,4 @@
-// Package errors provides error handling utilites.
+// Package errors provides error handling utilities.
package errors
import (
diff --git a/lib/terminal/terminal.go b/lib/terminal/terminal.go
index f933de719..e695dac70 100644
--- a/lib/terminal/terminal.go
+++ b/lib/terminal/terminal.go
@@ -116,7 +116,7 @@ func Write(out []byte) {
// This enables virtual terminal processing on Windows 10 console,
// adding native support for VT100 escape codes. When this terminal
// package is used for output, the result is that the colorable library
-// don't have to decode the escapes and explicitely write text with color
+// don't have to decode the escapes and explicitly write text with color
// formatting to the console using Windows API functions, but can simply
// relay everything to stdout.
func EnableColorsStdout() {