doc: fix various typos

Found via `codespell -q 3 -L atleast,iinclude,ist,programm,reenable,ser,uptodate`
This commit is contained in:
Luz Paz 2025-03-05 20:47:08 -05:00
parent de9a040d27
commit 794341a494
6 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ Bugfix: Prevent Windows VSS event log 8194 warnings for backup with fs snapshot
When running `restic backup` with `--use-fs-snapshot` flag in Windows with admin rights, event logs like
```
Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied.
. This is often caused by incorrect security settings in either the writer or requestor process.
. This is often caused by incorrect security settings in either the writer or requester process.
Operation:
Gathering Writer Data

View File

@ -43,7 +43,7 @@ import (
"golang.org/x/term"
)
// ErrNoRepository is used to report if opening a repsitory failed due
// ErrNoRepository is used to report if opening a repository failed due
// to a missing backend storage location or config file
var ErrNoRepository = errors.New("repository does not exist")

View File

@ -174,7 +174,7 @@ func main() {
if err == nil {
err = ctx.Err()
} else if err == ErrOK {
// ErrOK overwrites context cancelation errors
// ErrOK overwrites context cancellation errors
err = nil
}

View File

@ -148,7 +148,7 @@ options will be deleted. For example, the command
would only delete files within ``/tmp/restore-work/foo``.
When using ``--target / --delete`` then the ``restore`` command only works if either an ``--include``
or ``--exclude`` option is also specified. This ensures that one cannot accidentaly delete
or ``--exclude`` option is also specified. This ensures that one cannot accidentally delete
the whole system.
Dry run

View File

@ -374,7 +374,7 @@ func TestBackendLoadCircuitBreakerCancel(t *testing.T) {
err := retryBackend.Load(cctx, backend.Handle{Name: "other"}, 0, 0, nilRd)
test.Equals(t, context.Canceled, err, "unexpected error")
// reset context and check that the cirucit breaker does not return an error
// reset context and check that the circuit breaker does not return an error
cctx, cancel = context.WithCancel(context.Background())
defer cancel()
err = retryBackend.Load(cctx, backend.Handle{Name: "other"}, 0, 0, nilRd)

View File

@ -359,7 +359,7 @@ func (r *fileRestorer) downloadBlobs(ctx context.Context, packID restic.ID,
}
for file, offsets := range blob.files {
for _, offset := range offsets {
// avoid long cancelation delays for frequently used blobs
// avoid long cancellation delays for frequently used blobs
if ctx.Err() != nil {
return ctx.Err()
}