mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
lib: fix typos found by codespell
This commit is contained in:
parent
e84d2c9e5f
commit
18ebca3979
|
@ -26,7 +26,7 @@ import (
|
||||||
func GetSupportedGOARM() int {
|
func GetSupportedGOARM() int {
|
||||||
if runtime.GOARCH == "arm" && cpu.Initialized {
|
if runtime.GOARCH == "arm" && cpu.Initialized {
|
||||||
// This CPU is an ARM (32-bit), and cpu.Initialized true means its
|
// 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.
|
// for floating point hardware support.
|
||||||
if cpu.ARM.HasVFPv3 {
|
if cpu.ARM.HasVFPv3 {
|
||||||
// This CPU has VFPv3 floating point hardware, which means it can
|
// This CPU has VFPv3 floating point hardware, which means it can
|
||||||
|
|
|
@ -48,7 +48,7 @@ type DirCacher interface {
|
||||||
// error. This isn't done at initialization as it isn't known whether
|
// error. This isn't done at initialization as it isn't known whether
|
||||||
// the root and intermediate directories need to be created or not.
|
// 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.
|
// behalf with the create flag passed in.
|
||||||
//
|
//
|
||||||
// The cache is safe for concurrent use
|
// The cache is safe for concurrent use
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Package errors provides error handling utilites.
|
// Package errors provides error handling utilities.
|
||||||
package errors
|
package errors
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -116,7 +116,7 @@ func Write(out []byte) {
|
||||||
// This enables virtual terminal processing on Windows 10 console,
|
// This enables virtual terminal processing on Windows 10 console,
|
||||||
// adding native support for VT100 escape codes. When this terminal
|
// adding native support for VT100 escape codes. When this terminal
|
||||||
// package is used for output, the result is that the colorable library
|
// 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
|
// formatting to the console using Windows API functions, but can simply
|
||||||
// relay everything to stdout.
|
// relay everything to stdout.
|
||||||
func EnableColorsStdout() {
|
func EnableColorsStdout() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user